Kubernetes (k8s) – Open-source container orchestration platform that automates many of the manual processes involved in deploying, managing, and scaling containerized applications. Namespaces – Virtual cluster backed by the same physical cluster. Namespaces are the way to separate and organize objects such as pods and containers in your cluster Role-Based Access Control (RBAC) – Method…
Category: Containers
Containers
Flux Kubernetes GitOps operator
Flux is the Kubernetes GitOps operator that manages deployments for you. It is the operator that makes GitOps happen in your cluster and ensures that the cluster config matches the git and automates your deployments. fluxctl is a command-line tool that can talk to Weave Flux Using Flux we can synchronize a Kubernetes Cluster with…
Kubernetes Cluster Integration to Private GitLab Service
Install Kubernettes Cluster & Gitlab server (On-Premise Environment) Kubernetes Cluster: OS Version : Ubuntu 18.04.4 LTS Docker Version : 18.06.1~ce~3-0~ubuntu Kubernetes Version : 1.13.5 devops@dmanager01:~$ kubectl get nodes NAME STATUS ROLES AGE VERSION dmanager01 Ready master 10m v1.13.5 dworker01 Ready <none> 41s v1.13.5 dworker02 Ready <none> 22s v1.13.5 GitLab Server (Communitte Edition) Gitlab Version :…
Kubernetes API Primitives
Every component in the Kubernetes system makes a request to the API server. The kubectl command line utility processes those API calls for us and allows us to format our request in a certain way. To know the cluster components status – kubectl get componentstatus API Version: Kubernettes API version which indicates the path to…
Kubernetes Architecture
Kubernetes follows a client-server architecture with a server node (master) composed of etcd cluster, kube-apiserver, kube-controller-manager, cloud-controller-manager, scheduler and Client (worker) nodes are composed of kube-proxy and kubelet components. Master: API Server: The communication hub for all cluster components. It exposes the Kubernetes API Scheduler: Assigns you app to a worker node. Auto-detects which pod to assign to…
Kubernetes Introduction
What Kubernetes also called as K8s (K 8 Character s (ubernete)) is an open-source container-orchestration system for automating application deployment, scaling, and cluster management.It was founded by Joe Beda, Brendan Burns, and Craig McLuckie who were quickly joined by other Google engineers including Brian Grant and Tim Hockin and was first announced by Google in…
Kubernetes Cluster Up-gradation
1. Install the required Version (here 1.16.6) of kubeadm on Master Node Unhold the version of kubeadm : sudo apt-mark unhold kubeadm Install version 1.16.6 of kubeadm : sudo apt install -y kubeadm=1.16.6-00 2. Upgrade Control Plane Components using kubeadm Plan the upgrade : sudo kubeadm upgrade plan Apply the upgrade : sudo kubeadm upgrade…
Deploying a Microservice Application to Kubernetes
Microservice applications can be quite complex but that complexity can offer many benefits. Kubernetes can help you take advantage of those benefits by making these complex infrastructures easier to manage through automation. We will see the value of Kubernetes first-hand as you deploy a complex microservice architecture to the cluster and then independently scale some…
Deploying a Simple Service to Kubernetes
1. Create a deployment for the store-products service with four replicas. Log in to the Kube master node, Create the deployment with four replicas user@ip-10-0-1-101:~$ vi store-products-deployment.yaml Copy the content from https://github.com/cloudwwh/kubernetes/blob/master/store-products-deployment.yaml and make sure the intent are correct. user@ip-10-0-1-101:~$ kubectl apply -f store-products-deployment.yaml user@ip-10-0-1-101:~$ kubectl get pods -o wide NAME READY STATUS RESTARTS AGE IP …
Building a Kubernetes Cluster with Kubeadm
A Kubernetes cluster is a powerful tool for managing containers in a highly available manner. Kubeadm greatly simplifies the process of setting up a simple cluster. In this hands-on lab, you will build your own working Kubernetes cluster using Kubeadm. Install Docker on all three ubuntu (Ubuntu 18.04.3 LTS) nodes: Add the Docker GPG key:…