Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed 

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

University Physics with Modern Physics

Authors: Hugh D. Young, Roger A. Freedman

14th edition

133969290, 321973615, 9780321973610, 978-0133977981

More Books

Students also viewed these Programming questions

Question

Describe the process of sensory memory.

Answered: 1 week ago