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”
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024