Let's now use the ReplicaSet template instead of the Pod template.
kubectl apply -f rs-example.yaml
kubectl get pods -o wide
kubectl get rs
kubectl describe rs rs-example
kubectl delete -f rs-example.yaml
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Let's now use the ReplicaSet template instead of the Pod template.
kubectl apply -f rs-example.yaml
kubectl get pods -o wide
kubectl get rs
kubectl describe rs rs-example
kubectl delete -f rs-example.yaml