Kubectl Deployment Commands

Get the deployments

kubectl get deployments

Delete deployments

kubectl delete deployment {deployment_name}

Samples

Sample to expose an endpoint

kubectl expose deployment {app_name} --type=LoadBalancer --port=80 --target-port=80

Comments