xxxxxxxxxx
Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.
xxxxxxxxxx
Kubernetes is an orchestration framework for software containers. Containers are a way to
package and run code that's more efficient than virtual machines. Kubernetes provides the tools
you need to run containerized applications in production and at scale.
Kubernetes is an open-source container orchestration tool or system that is used to automate tasks such as the management, monitoring, scaling, and deployment of containerized applications.
It is used to easily manage several containers (since it can handle grouping of containers), which provides for logical units that can be discovered and managed.
xxxxxxxxxx
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
xxxxxxxxxx
Kubernetes is a portable, extensible,
open-source platform for managing containerized
workloads and services, that facilitates both
declarative configuration and automation. It has a large, rapidly growing
ecosystem. Kubernetes services, support, and tools are widely available
xxxxxxxxxx
Kubernetes, often abbreviated as “K8s”, orchestrates containerized applications to run on a cluster of hosts.
The K8s system automates the deployment and management of cloud native applications using on-premises infrastructure or public cloud platforms.
It distributes application workloads across a Kubernetes cluster and automates dynamic container networking needs.
Kubernetes also allocates storage and persistent volumes to running containers, provides automatic scaling, and works continuously to maintain the desired state of applications, providing resiliency.
Kubernetes is an open-source container management tool that holds the responsibilities of container deployment, scaling & descaling of containers & load balancing.
Being Google’s brainchild, it offers excellent community and works brilliantly with all the cloud providers.
So, we can say that Kubernetes is not a containerization platform, but it is a multi-container management solution.
xxxxxxxxxx
$ kubectl create deployment demo --image=springguides/demo --dry-run -o=yaml > deployment.yaml
$ echo --- >> deployment.yaml
$ kubectl create service clusterip demo --tcp=8080:8080 --dry-run -o=yaml >> deployment.yaml
Kubernetes, often abbreviated as K8s, is an open-source platform for automating deployment, scaling, and management of containerized applications. It was originally developed by Google and is now maintained by the Cloud Native Computing Foundation (CNCF).
xxxxxxxxxx
Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster.