Deploy an apache web server on kubernetes cluster

@Inderpreet @kodekloud-support3 I tried to create deployment,service using imperative commands , its giving error “permission denied” even after using sudo in command…Anybody knows why is this so? Do we have to create every k8 object using yaml file ? cant we create it using imperative commands?

@pratikshag

Can you provide any screenshots?

Deployment, svc can be created with imperative commands.
Are you able to create a single Pod with imprtv command?

Thanks for the response…It successfully passed the task by creating yaml files for k8 objects…but imperative commands was giving error.