Kubernetes Webapp

Ishita Mittal
3 min readSep 1, 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)
Note — There should be webUI based menu display so that user can get to know what your webapp can do.

📌 This app will help the user to run all the Kubernetes commands:

kube.py

index.html

k8.js

style.css

we need to disable firewall and also run this command setenforce 0

UI OF WEB APP

RUNNING COMMANDS ONT THE WEB APP

--

--