Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. You will write a python program for interacting with Kubernetes, assuming that you have 1 master server and 2 worker nodes deployed (as
1. You will write a python program for interacting with Kubernetes, assuming that you have 1 master server and 2 worker nodes deployed (as shown in the lectures). You may choose how the user interacts with the program, but it must provide the following basic functionality: List all pods. Describe a pod, specified by the user. Create a pod, from an image for "nginx" or "redis", as specified by the user. Scale the number of pods of a particular type by an amount specified by the user. You may assume the pods to be scaled were created using the above functionality that makes pods for "nginx" or "redis". Execute a command on a pod, pod and command specified by the user. Deploy a pod to every node. Delete a pod, specified by the user.
Step by Step Solution
★★★★★
3.57 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
Heres a Python program using the kubectl commandline tool to interact with Kubernetes and fulfill th...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started