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 Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals