Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Latest commit

 

History

History

L24-03 ReplicaSet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

L24-03

Let's now use the ReplicaSet template instead of the Pod template.

Create the ReplicaSet

kubectl apply -f rs-example.yaml

Get the pods list

kubectl get pods -o wide

Get the ReplicaSet name

kubectl get rs

Describe the ReplicaSet

kubectl describe rs rs-example

Cleanup

kubectl delete -f rs-example.yaml