Kubernetes Integration with Python-CGI
Task 09 π¨π»βπ»

Task Description π
π In continuation of task 7.1 you need to Integrate Kubernetes commands that can be run through web UI created by you.
π This time create web UI page as such that using normal English conversation you're 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)
Firstly, by using the code, we created a web portal where all the action is going to happen and integration of Kubernetes takes place.
Below is the depiction of web portal:

The following are the steps where the features are added and removed, which are shown below in the images given below:
Creating deployment


Creating pod


Showing all pods


List all deployments


Showing all services


Describing all information of pod



Scaling the replica


Exposing deployment


Deleting the pod


Deleting all the environments


Therefore, the Task is achieved.