May 2018
Intermediate to advanced
554 pages
13h 51m
English
In order to remove the ReplicaSet from the Kubernetes system, you can rely on the subcommand delete. When we fire delete to remove the resource, it removes the target objects forcefully:
$ time kubectl delete rs my-first-replicaset && kubectl get podreplicaset.extensions "my-first-replicaset" deletedreal 0m2.492suser 0m0.188ssys 0m0.048sNAME READY STATUS RESTARTS AGEmy-first-replicaset-8hg55 0/1 Terminating 0 53mmy-first-replicaset-b6kr2 1/1 Terminating 0 48mmy-first-replicaset-wtphz 0/1 Terminating 0 53mmy-first-replicaset-xcrws 1/1 Terminating 0 53m
We find that the response time is quite short and the effect is also instantaneous.
Read now
Unlock full access