Here's my situation: I have deployed some k8s resources via docker stack liek this:
docker stack deploy --compose-file /path/to/docker-compose.yml mystack
docker stack services mystack
Now, I want to delete some of those resources, however, any resource I attempt to delete simply restarts itself immediately.
I have tried to delete the pods, corresponding replica sets, deployments and services but whatever resource I deleted, it restarted itself within a second.
What am I doing wrong?
You should use docker stack to delete the stack
docker stack rm <stack-name>