First time Kubernetes user here.
I deployed a service using kubectl -n my_namespace apply -f new_service.yaml
It failed, with the pod showing Warning -Back-off restarting failed container
I am now trying to delete the failed objects and redeploy a fixed version. However, I have tried to delete the service, pod, deployment, and replicaset, but they all keep recreating themselves.
I looked at this thread but don't believe it applies since my deployment list:
apiVersion: apps/v1
kind: Deployment
Any input appreciated!
Posting this as Community wiki for better visibility. Feel free to expand it.
In a Kubernetes cluster:
there is a Kubernetes Deployment / StatefulSet / DaemonSet / job that recreates them
there is a Kubernetes Deployment that recreates it
there is a deployment tool like ArgoCD / FluxCD / other tool that recreates them
helm list --all-namespaces
to list installed releases.Thanks to @P....for comments.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With