Kubernetes Integration with Python-CGI

Kubernetes Integration with Python-CGI

LW_DATE_28_06_2021_Task 09

Kubernetes

Kubernetes (also known as k8s or “kube”) is an open source container orchestration platform that automates many of the manual processes involved in deploying, managing, and scaling containerized applications.

In other words, you can cluster together groups of hosts running Linux containers, and Kubernetes helps you easily and efficiently manage those clusters.


Kubernetes Components

When you deploy Kubernetes, you get a cluster.


A Kubernetes cluster consists of a set of worker machines, called?nodes, that run containerized applications. Every cluster has at least one worker node.

The worker node(s) host the?Pods?that are the components of the application workload. The?control plane?manages the worker nodes and the Pods in the cluster. In production environments, the control plane usually runs across multiple computers and a cluster usually runs multiple nodes, providing fault-tolerance and high availability.

This document outlines the various components you need to have a complete and working Kubernetes cluster.

Kubernetes Components-

No alt text provided for this image

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


Feature

?? 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.

Step 1-

Start mini cube setup using?minicube start?command

No alt text provided for this image

Use?minicube status?command to check our status is ok or not

No alt text provided for this image

When status is ok a at the time mini cube run ine VMware

No alt text provided for this image

Step 2 -

This is a front end code

No alt text provided for this image

Backend python code

No alt text provided for this image

Step 3-

UI output page

No alt text provided for this image

In this UI page we are fire get port command and execute and see the output result

No alt text provided for this image

And similarly we can check?cubectl get ports?command to check port is running or not

No alt text provided for this image

Step 4-

If you are need dashboard in any browser at the time we are used mini cube dasboard command because this command given does board

No alt text provided for this image

In this dashboard are check pods detail, deployment detail and all type of services we can see and execute similar

No alt text provided for this image

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

THANKYOU




要查看或添加评论,请登录

Shubham Pandit的更多文章

  • Object Recognition using CNN model

    Object Recognition using CNN model

    ?? In this task : ??Create a model that will detect a car in a live stream or video and recognize characters on the…

  • Industry Usecase of JavaScript

    Industry Usecase of JavaScript

    Introduction JavaScript is a programming language used primarily by Web browsers to create a dynamic and interactive…

  • Javascript Integration with Docker

    Javascript Integration with Docker

    Python CGI with Docker (Task 7) In this project, I have integrated python with Docker !! Python is one of the most…

  • K-Means clustering

    K-Means clustering

    Task Description Create a blog/article/video about explaining k mean clustering and its real usecase in the security…

  • Face Recognizer

    Face Recognizer

    Thursday, June 24, 2021 Hello Fellas!!! This post a task given by Mr. Vimal Daga sir during my summer internship…

  • CYBER SECURITY AND CONFUSION FUNCTION.

    CYBER SECURITY AND CONFUSION FUNCTION.

    confusion matrix When we get the data, after data cleaning, pre-processing and wrangling, the first step we do is to…

社区洞察

其他会员也浏览了