How to make a Kubernetes web application using CGI?
Task 09 👨🏻💻
Kubernetes Integration with Python-CGI
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 a WebUI page as such that using normal English conversation your all commands can run in the background.
For example - when we write 'run deployment using httpd image' then it runs the complete deployment command in the backend.
Features -
👉 It can launch pods with the specific names given by users.
👉 Run deployment using the image and name given by the user.
👉 Expose services on given user input port number.
👉 Scale the replica according to user needs.
👉 Delete the complete environment created.
👉 Delete specific resources given by the user.
👉 Extra features related to k8s ( Optional)
Note - There should be a web UI-based menu display so that users can get to know what your web app can do.
#worldrecordholder #training #internship #makingindiafutureready #summer #summertraining #python #javascript #docker #rightmentor #deepknowledge #linuxworld #vimaldaga #righteducation
So let’s start……..
Creating Frontend Code with HTML & CSS:
First, we'll see the index.html part of code:
Secondly, we'll see how css helps to give some animation effects and some text font styles:
So, this was the fronend code which was used to develop an interactive Web Application.
Next,
Note: For full code refer to Github repo refer here
Creating Backend Code with python cgi programming:
Finally, the UI should look something like this………….
Thank you for stopping by...