Kubernetes Integration with Python-CGI

RajSaundatikar
Jul 12, 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.

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)

First, we need to stop firewall and web server

Below code file should be in var/www/cgi-bin

Below code file should be in var/www/html

Then put ip address of machine with file name in the URL

Now let’s run some commands

--

--