1. You will write a python program for interacting with Kubernetes, assuming that you have 1...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
Heres a Python program using the kubectl commandline tool to interact with Kubernetes and fulfill th... View the full answer
Related Book For
University Physics with Modern Physics
ISBN: 978-0133977981
14th edition
Authors: Hugh D. Young, Roger A. Freedman
Posted Date:
Students also viewed these programming questions
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
Determine which of the following statement(s) will always be true. It is possible that more than one statement is true. Only write down the letters of the statements that are true. n +1 2.1 The...
-
You are auditing the December 31, 2014, financial statements of Hockney, Inc., manufacturer of novelties and party favors. During your inspection of the company garage, you discovered that a used...
-
For the circuit in Figure, find (a) The current in each resistor, (b) The power supplied by each emf, and (c) The power dissipated in each resistor. 152 4 V -
-
Suppose a certain battery has an internal emf of \(9.00 \mathrm{~V}\) but the potential difference across its terminals is only \(85.0 \%\) of that value. If that battery is connected to a \(56.0-\mu...
-
Counts Accounting has a beta of 1.15. The tax rate is 40%, and Counts is financed with 20% debt. What is Countss unlevered beta?
-
a) Explain the following accounting concepts: i. Business entity Revenue realization ii. Accruals iii. iv. V. Substance over form Conservatism vi. Going concern (6 Marks) b) Classify the following...
-
A US motivational speaker was brought in by a South African private company as part of its annual general meeting to speak to the sales and marketing staff. Part of the presentation included...
-
Thinking about the last visit to your favorite restaurant? Describe some of the internal controls that were implemented in the workplace. Discuss at least two of the good and effective internal...
-
The modern workplace faces security challenges that include a. phishing. b. adware and spyware. c. disruption by hackers. d. all of the above.
-
Think of the last major purchase you made. Discuss how sociocultural, personal, psychological, situational, and marketing mix influences impacted this purchase.
-
How does long-term financial planning support the goal of the financial manager?
-
Discuss the classification of the cam and followers.
-
Discuss how Dr. Bronners packaging and labeling emphasize its corporate and marketing philosophies.
-
Instead of a lump-sum tax we had in the textbook model, suppose the government imposes a proportional income tax at a rate t on the consumers wage income. That is, for a given market wage rate w, the...
-
The following cost information was provided to you for analysis: September 12,000 Units Produced Costs: TIC TAC TOE TING August 10,000 P80,000 70.000 60.000 50,000 How much is the fixed cost per...
-
You run due east at a constant speed of 3.00 m/s for a distance of 120.0 m and then continue running east at a constant speed of 5.00 m/s for another 120.0 m. For the total 240.0-m run, is your...
-
Is it possible for an object to be (a) Slowing down while its acceleration is increasing in magnitude; (b) Speeding up while its acceleration is decreasing? In both cases, explain your reasoning.
-
You have probably noticed that the lower the tire pressure, the larger the contact area between the tire and the road. Why?
-
Number of cars crossing the Golden Gate Bridge each hour. State whether the data described are discrete or continuous and explain why?
-
Number of stars in each galaxy in the universe. State whether the data described are discrete or continuous and explain why?
-
The times required by students to complete a statistics test. State whether the data described are discrete or continuous and explain why?
Study smarter with the SolutionInn App