What is Kubernetes? Kubernetes, or k8s, is an open source platform that automates the management, scaling, and deployment of containerized applications, known as the Container orchestration engine. It eliminates a lot of the manual processes involved in deploying and scaling containerized applications.
Watching: What is Kubernetes
Recently, many applications have implemented containerization using docker and using it as production environment increasingly. On production environment, because it is very difficult to structure the system running in containers using only docker. So using a Container orchestration engine platform like k8s is quite common nowadays.
Kubernetes orchestration allows you to build application services that span multiple containers. It schedules those containers on a cluster, scales the containers, and manages the health of the containers over time.
Actual production applications span multiple containers. Those containers must be deployed on multiple server hosts. Kubernetes provides the orchestration and management needed to deploy containers at scale for those workloads.
Pod
Pods are the most fundamental and important concept on Kubernetes. The Pod itself can hold 1 or more 1 container. The Pod is where the application is run. Pods are processes that reside on Worker Nodes. The Pod itself has its own resources about file system, cpu, ram, volumes, network addresses, etc.
Image
Is software that runs an application that has been bundled into a program so that it can be run as a container. The Pods will use the images to run.
These images are usually managed in a centralized storage place, for example we have Docker Hub which contains Images of many popular applications such as nginx, mysql, wordpress …
Deployment
A way to help deploy, update, and administer Pods.
See more: What is a Penthouse – Should You Choose a Penthouse?
Replicas Controller
As a component of Pod replication, it helps to clone or reduce the number of Pods.
Service
Is the network part of Kubernetes to help Pods call each other more stably, or to Load Balancing between multiple copies of Pods, and can be used to direct traffic from users to applications (Pods), helping users to application can be used.
Label
Label was born to classify and manage Pods,. For example, we can label Pods running in frontend, backend, running in dev, qc, uat, production…
What is a Kubernetes Practice
The hands-on section will help you practice with the basic concepts above in Kubernetes. The content of this section covers the installation of a Kubernetes cluster of Master and Node through Minikube.
Deploy applications to Kubernetes through Deployment, use Services to help users access applications from the outside into Kubernetes, and administrative operations such as scaling up and down the number of copies of the application and updating versions. application.
See also: What is Toeic – How to Practice Toeic Exam Effectively
Install Kubernetes using Minikube
In this article, we use the Minikube program, which is designed to help newbies access the most basic concepts of Kubernetes. Minikube is not intended for use in real production environments.
Above are the most basic concepts we want to introduce to readers. Kubernetes has many other concepts, gradually we will get acquainted with these concepts later. Here is the link for you to follow the installation and test run: https://kubernetes.io/docs/tutorials/hello-minikube/
Currently, AWS, Azure or Google Cloud are also widely using Kubernetes because of its superiority, have you tried it yet?