Kubernetes Integration with Python-CGI
Task Description π
π we 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:
This app will help the user to run all the Kubernetes commands:
kube.py file :
index.html file :
k8.js file :
style.css :
we need to disable firewall and also run this command setenforce 0 because through sentenforce we can allow outside traffic for some time it will disable the security .
UI OF WEB APP
RUNNING COMMANDS ONT THE WEB APP
Thank you for reading!!!!!
#worldrecordholder #training #internship #makingindiafutureready #summer #summertraining
#python #javascript #docker #rightmentor #deepknowledge #linuxworld #vimaldaga #righteducation