Professional Documents
Culture Documents
Untitled
Untitled
Untitled
****************
*
*
* EXERCISE: ReplicaSet | Kubernetes
*
*
*
* Author: Srinath Challa | Kubernetes SME | Udemy
*
*
*
* Connect me on:
*
* --------------
*
* https://www.udemy.com/user/srinathchalla/
*
* https://www.linkedin.com/in/srinathchalla/
*
* https://www.youtube.com/srinathchalla
*
*
*
* Reference:
*
* ----------
*
* https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/
*
* https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#how-a-
replicaset-works *
***********************************************************************************
****************
In this Exercise:
----------------
You will deploy the sample ReplicaSet, then Validate, Scale, Edit and Cleanup.
PRE-REQ:
--------
a. To successfully finish this exercise, It is important to go through ReplicaSet
Concept and Demo videos in this series.
b. You can refer to Kuberenetes Docs for help when needed.
***********************************************************************************
****************
***********************************************************************************
****************
***********************************************************************************
****************
a. Edit the "redis-rs" ReplicaSet and update the replica count from 3 to 5.
kubectl edit rs redis-rs
c. Display the Pods and Ensure two extra Pods are created. Total 5 Pods related to
"redis-rs" should be "Running"
kubectl get pods -o wide
***********************************************************************************
****************
***********************************************************************************
****************