Kubernetes Integration with Python-CGI

Task Description 📄

📌 In continuation of task 7.1 you 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)

2) we delete the pods .


K-means clustering is one of the simplest and popular unsupervised machine learning algorithms.

AndreyBu, who has more than 5 years of machine learning experience and currently teaches people his skills, says that “the objective of K-means is simple: group similar data points together and discover underlying patterns. To achieve this objective, K-means looks for a fixed number (k) of clusters in a dataset.”

Now we will understand this with the help of a beautiful figure.

A cluster refers to a collection of data points aggregated together because of certain similarities.

Every data point is allocated to each of the clusters…


Task Description 📄

📌 In this task :

👉Create a model that will detect a car in a live stream or video and recognize characters on number plate of the car .

👉Secondly , it will use the characters and fetch the owners information using RTO API’s .

👉Create a Web portal where all this information will be displayed (using html,css,and js)

📌 Note : You may create your own detection model .

👉 Make a blog/article/video explaining this task step by step

Step 1: Resize the image to the required size and then grayscale it. …


Javascript Integration with Docker

Task Description 📄

⚙️ Task 7.1 -

📌 In this task you have to create a Web Application for Docker (one of the great Containerization Tool which provides the user Platform as a Service (PaaS)) by showing your own creativity and UI/UX designing skills to make the webportal user friendly.

📌 This app will help the user to run all the docker commands like:

👉docker images

👉docker ps

👉docker run

👉docker rm -f

👉docker exec

👉 add more if you want. (Optional)

👉 Make a blog/article/video explaining this task step by step.


Firstly What is JavaScript?

JavaScript is a scripting or programming language that allows you to implement complex features on web pages — every time a web page does more than just sit there and display static information for you to look at — displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third layer of the layer cake of standard web technologies, two of which (HTML and CSS) we have covered in much more detail in other parts of the Learning Area.

Use cases of javascript


Task Description 📄

❄️ Create a program that perform below mentioned task upon recognizing a particular face.

📌 When it recognize your face then —
👉 It send mail to your mail id by writing this is face of your_name.
👉 Second it send whatsapp message to your friend, it can be anything.

📌 When it recognize second face, it can be your friend or family members face.
👉 Create EC2 instance in the AWS using CLI.
👉 Create 5GB EBS volume and attach it to the instance.

Collecting Samples


Hey guys in this block we are gonna draw, crop and create collage through python code.
For this we are gonna use :
Python as language
Jupyter notebook
2 images with a face

Drawing any Image:
When we look to any image in phone or laptop it seems as if there is some high graphic tech. used for storing that image.
But actually an image is stored in any system in form of array.
So by use of these arrays only we are gonna create a hut on a blank black sheet.
So lets create a hut on a blank black sheet of shape…


What is Confusion Matrix ?

A Confusion matrix is an N x N matrix used for evaluating the performance of a classification model, where N is the number of target classes. The matrix compares the actual target values with those predicted by the machine learning model. This gives us a holistic view of how well our classification model is performing and what kinds of errors it is making.

FOUR OUTCOMES OF CONFUSION MATRIX

The confusion matrix visualizes the accuracy of a classifier by comparing the actual and predicted classes. The binary confusion matrix is composed of squares:

  • TP: True Positive: Predicted values correctly predicted as actual positive
  • FP: Predicted values…

🔅 Launch a container on docker in GUI mode

🔅 Run any GUI software on the container

Solution:-

Step 01:- First I have to check the status and Pull the Centos Image from Docker hub.

“systemctl status docker”

“docker pull centos:latest

Step 02:- Check the docker images and launching a container

“docker run — network host -it — name task2_GUI — env “DISPLAY’’ centos:latest


Solution:-

Step1:-

First I have to restart the docker and check the status

“systemctl restart docker”

“systemctl enable docker”

“systemctl status docker”

Step 02 : Pull the Centos Image from Docker hub.

“ docker pull centos:8“

Priyansh Kushwah

I am student of GLA Student

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