Task 09πŸ‘¨πŸ»β€πŸ’»

Priyansh Kushwah
3 min readSep 8, 2021

Kubernetes Integration with Python-CGI

Task Description πŸ“„

πŸ“Œ In continuation of task 7.1 you need to Integrate Kubernetes commands that can be run through webUI created by you.
πŸ‘‰ This time create webUI page as such that using normal English conversation your all commands can run in background.
Example β€” when we write β€˜run deployment using httpd image’ then it run complete deployment command in backend.

Feature necessary -
πŸ‘‰ It can launch pods with specific name given by user.
πŸ‘‰ Run deployment using image and name given by user.
πŸ‘‰ Expose services on given user input port number.
πŸ‘‰ Scale the replica according to user need.
πŸ‘‰ Delete complete environment created.
πŸ‘‰ Delete specific resources given by user.
πŸ‘‰ Extra features related to k8s ( Optional)

  1. Firstly ,we normal be get few pods .

2) we delete the pods .

3)Now we get pods for task

4) kubectl create deploayment app1 β€” image=vimal13_webserver-php

5) After create the deployment we can get the pods .

6) and then we do svc .

7)kubectl scale deployment app1 β€” replicas3

for scaling the replicas according to user

8) Again we get pods

9)It describe the pod app1_id.

10) And then finally we get the pods

THANK YOU…….

--

--