Kubernetes Integration with Python-CGI

Aditya Pande
2 min readAug 17, 2021


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)

Team Members

  1. Mahek Batra ยฉ
  2. Aditya Pande
  3. Bhavesh Sonewale
  4. Tanmay Chauhan

In this task, we have created one Kubernetes Interactive Webapp with Python CGI as backend and HTML, CSS and Javascript as frontend like we have done in Docker Web UI task in which we have created one Web UI for running docker commands. You can refer below link of the same:-

In this Web UI, we can run various kubernetes commands like, launching pod, deployment, service, etc. list pod, deployment, service, expose deployment, delete specific service or delete entire environment.

The below video shows demonstration of this task :-

GitHub URL:-