Building a Kubernetes Cluster with Kubeadm


To build a cluster, you need to have master and slave nodes and dockers need to be installed. 1. Install Docker on all three nodes.keyboard_arrow_up Do the following on all three nodes: apt install gpg-agent curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – sudo add-apt-repository \ “deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable” sudoContinue reading “Building a Kubernetes Cluster with Kubeadm”

How to commit docker images


[cloud_user@aryan1c ~]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES To commit docker image, you need to copy the identification number 65d264fc1d7e centos:6 “/bin/bash” 39 minutes ago Exited (0) About a minute ago quirky_nightingale 5fdeaceec288 spacebones/doge “nginx -g ‘daemon …” 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp treatseekers [cloud_user@aryan1c ~]$ docker commitContinue reading “How to commit docker images”

How to install Apache in Linux container


[root@65d264fc1d7e /]# yum -y install httpd Loaded plugins: fastestmirror, ovl Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.cisp.com * extras: mirrors.mit.edu * updates: mirror.trouble-free.net Resolving Dependencies –> Running transaction check —> Package httpd.x86_64 0:2.2.15-69.el6.centos will be installed –> Processing Dependency: httpd-tools = 2.2.15-69.el6.centos for package: httpd-2.2.15-69.el6.centos.x86_64 –> Processing Dependency: apr-util-ldapContinue reading “How to install Apache in Linux container”