Wise people learn when they can; fools learn when they must - Arthur Wellesley

Thursday, 9 February 2023

KUBERNETES - 3 (Installation)

 

                           KUBERNETES - 3 (Installation)

What we will learn,

Kubernetes cluster creation,

Steps for Installation,

 

1.  Swap should be disabled

2.  Disable selinux

3.  Firewalld should be stopped, (if not then must be rules defined to allow k8s)

4.  Entry of all master & worker in /etc/hosts

5.  Mac id and product_uuid should be unique

6.  Enable Internet

7.  Yum update

8.  Install docker-ce on all nodes [docker engine/docker daemon, responsible for all the container management docker build, docker network, docker volume and docker inspect. Requires docker-ce-cli.]

9.  Install docker-ce-cli on all nodes [command line interface for docker engine]

10. Install containerd.io on all nodes [daemon containerd to interface with the OS API, It uses kernel features to provide a runtime environment for containers. Containerd is the container runtime software which is responsible for running containers.

11. Install Kubelet on all nodes

12. Install Kubeadm on all nodes

13. Install Kubectl on all nodes

14. Initialize kubeadm on Master node only

15. Install/Deploy a Container Network Interface (CNI) based Pod network on Master Node only (our case Calico) [Required for Pods communication with each other. Cluster DNS (CoreDNS) will not start up before a network is installed. A CNI plugin is required to implement the Kubernetes network model.

16. Join Worker with Master

17. Validate the setup

Saturday, 25 June 2022

KUBERNETES-2

  

                   KUBERNETES-2 (BASICS)

What we will learn,

What is Kubernetes?
Why Kubernetes?
What is a Kubernetes cluster?
Kubernetes Architecture

Thursday, 23 June 2022

KUBERNETES-1

 

                     KUBERNETES-1 (BASICS)

What we will learn,

There are few things which we need to understand before getting involved with Kubernetes,


What is Monolithic application?
What is Hypervisor & type?
What is virtualization?
What is Virtual machine?
What are Micro Services?
What is container?
What are the benefits of Containers?
What are the drawbacks of Containers?
What is containerization?
What is difference between containerization and virtualization?
What is container orchestration?
What is namespace?

Sunday, 3 April 2022

DOCKER-5

 

                DOCKER-5 (SAVE & RESTORE)   

What we will learn in this post,

·         HOW TO SAVE & RESTORE (IMAGE),

·         HOW TO SAVE & RESTORE (CONTAINER),

DOCKER 4

 

                        DOCKER-4   

What we will learn in this post,

·         HOW TO RUN CONTAINER PROPERLY.

·         HOW TO ACCESS RUNNING CONTAINER.

·         NAME YOUR CONTAINER

·         AUTO RUN AFTER REBOOT

·         ACCESSING RUNNING CONTAINER AND EXIT WITHOUT EXITING CONTAINER

Saturday, 29 January 2022

DOCKER-3

 

                 DOCKER-3 (Basic Commands) 

What we will learn in this post,


·         Docker basic commands

·         Run & Pull Docker Images

·         Create container from image

·         See the running or exited containers

·         Remove container & images

·         Running a container

 

Sunday, 23 January 2022

DOCKER-2 (INSTALL & BEGIN)

  

                 DOCKER-2 (INSTALL & BEGIN)  

Now we need to install docker,

Below are the pre installation considerations,

1.  Swap should be off

2.  Internet access

3.  Few rpm’s

Saturday, 22 January 2022

DOCKER -1


                    DOCKER-1 (BASICS)  

Docker is a set of PAAS (Platform as a Service) which uses OS level virtualization.

Docker images are non-interactive (change not permitted) and reusable

Containers are interactive (change permitted), and we can create image from containers.

Docker architecture:

DOCKER ENGINE: There are three major components,

Sunday, 9 February 2020

LINUX(49)- NETWORK TIME PROTOCOL (NTP) -3



               LINUX(49)- NETWORK TIME PROTOCOL (NTP) -3

Now time to consider the commands, output values and configuration file in detail.

Log / Security / troubleshooting

How to know the service ntpd is running or not?
How to check NTP server is alive and responding to ntp queries?
How to check the NTP status?
Understanding output of “ntpq -p”
Important config files related to NTP,
How to check the current ntp configuration status?
What if you wanted your local machine to server as NTP server?
How to use Local Clock as Backup?
How to enable NTP logging?
What is driftfile and drift value?
how to verify ntp process is running or not?
How to update ntp time manually?
How to check the sync and time accuracy?
how to check ntp port 123 is working or not?