Kubernetes: Apply and delete manifests
A short, tested Kubernetes example for apply and delete manifests. Copy it and adjust the names and paths for your project.
Kubernetes
kubectl apply -f deployment.yaml
kubectl delete -f deployment.yaml
kubectl rollout status deployment/web
kubectl rollout undo deployment/web
kubectl scale deployment/web --replicas=3Find it in Zest
Search for “kubernetes apply and delete manifests” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.