Kubernetes Integration with Python-CGI

Kubernetes Integration with Python-CGI

In this practical we are trying to interested k8s, JavaScript using Python CGI in this interrogation there are some features we can perform

  • It can launch pods with specific name given by users.
  • Run deployment using image and name given by the user.
  • Expose services on given user input port number.
  • Scale the replica according to user needs.
  • Delete complete environment created.
  • Delete specific resources given by the user.

Prerequisite

  • Linux OS
  • Minikube installed
  • Should know basics of Kubernetes

Start mini kube setup using minikube start command

>> minikube start

Use minikube status command to check minikube status

>> minikube status

We can see that minikube is running in VM box

This is a front end code

Backend python code

Note: Give all Credential to admin.config file in local directory

UI output page here we can run any commands

This application is work properly you can execute all type kubectl command…..

Thanks for visiting so far, if you like the blog don’t forget to clap 50 :)

ARTH-School of technology, BCA graduate

Love podcasts or audiobooks? Learn on the go with our new app.

PIC16F877A one-digit decimal number is incremented every 0.5 second

Ruby Concurrency: Building a Timeout Queue

C Programming: Making a triangle with stars

Part 2: Setting the App in Frameworks

Setting up an AWS VPC

Installing Ubuntu on Xilinx ZYNQ-7000 AP SoC Using PetaLinux

How to Disable Ecto in Elixir Phoenix After Project Creation

Understanding Kubernetes Probes

Kubernetes Probes Logo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vinodha kumara

Vinodha kumara

ARTH-School of technology, BCA graduate

More from Medium

Industrial use cases of Openshift

EdgeX Foundry on K3s — the Initiation

What the newest kernel exploit — CVE-2022–0185 — mean for Kubernetes?

How to set up an NFS for VMs & Kubernetes