Kubernetes Integration with Python-CGI

Kubernetes Integration with Python-CGI

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

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



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

KARTIK LOKARE的更多文章

  • How to read data stored in RAM?(Memory Forensic)

    How to read data stored in RAM?(Memory Forensic)

    What is RAM and What data RAM contains? Random-access memory (RAM) is a computer’s short-term memory. None of your…

  • Explore date command and with options and try to use every option.

    Explore date command and with options and try to use every option.

    The date command displays or sets the system date. It is most commonly used to print the date and time in different…

  • Object Recognition using CNN model

    Object Recognition using CNN model

    Step 1: Create an ML model detecting vehicle number plate Step 2: Display the screen showing the WebApp taking the…

  • 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…

    2 条评论
  • Industry Usecase of JavaScript

    Industry Usecase of JavaScript

    August 12, 2021 Introduction JavaScript is a programming language used primarily by Web browsers to create a dynamic…

    2 条评论
  • K-Means Clustering - Use Cases

    K-Means Clustering - Use Cases

    What is Clustering? Clustering is one of the most common exploratory data analysis technique used to get an intuition…

  • Understanding Confusion Matrix

    Understanding Confusion Matrix

    Hello Everyone… Today I am here with a interesting article. Which is based on Confusion Matrix.

    3 条评论

社区洞察

其他会员也浏览了