Posts

Showing posts from November, 2019

Kubernetes mastering

Problem #1   Create a pod with follow details  create a pod file in yaml    use your custom nginx image use necessary configuration if required  your nginx docker image must have your custom page desgin by you   page name of html is   index.html with  content  "Hello pods"  expose ports in nginx image is  80  name of pod must be  nginx-pod    label of  pod  must be   "name: hellonginx"  deploy this pod using kubectl only and make sure status running  Problem #2  Perform this question just after the problem first  check the above in status using kubectl  find out the name of worker node where pod is schedule  reschedule that pod to another worker node   check the status that must be running fine    Problem #3