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!