Note – “firstname” Means “Your first name”
Duration – 1 HOUR
Q1. Create one Namespace with your “firstname”.
Q2. Create a POD in your namespace with Nginx image. POD name must be “firstname-pod”
Q3. Create a replicationController with 2 pod in your namespace with Nginx. RCname must be “firstname-rcname”
Q4. Create a deployment with 1 POD in your namespace with Nginx image. Deploy name must be – firstname-deploy
Q5. Create a services of the deployment in your namespace. Service name must be – firstname-services. Type – NodePort.
Q6. Create a PV/PVC with hostpath and use in one Pod name”yourname-pv” in your Namespace.
Q7. Create a normal user called “yourfirstname-user” in clustor with RBAC and assign all access.
Q8. Create a services account called “yourfirstname-sa” in clustor with RBAC and assign all access.
Q9. Write a commands to list pods with labels and PodIpaddress and save a command into /tmp/yourfirstname.txt
Q10. Go inside pod “yourname-pv” and inside /tmp/ create one file called “devopsschool.txt”
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND