14 lines
247 B
Bash
14 lines
247 B
Bash
#!/bin/bash
|
|
|
|
# Delete the Deployment
|
|
kubectl delete -f deployment.yaml
|
|
|
|
# Delete the Service
|
|
kubectl delete -f service.yaml
|
|
|
|
# Delete the StatefulSet
|
|
kubectl delete -f statefulset.yaml
|
|
|
|
# Delete the namespace
|
|
kubectl delete namespace my-namespace
|