Creating a kubernetes cluster


How to create kubernetes cluster? Get three EC2 instances from AWS and start the following steps.  The first thing that we are going to do is use SSH to log in to all machines. Once we have logged in, we need to elevate privileges using sudo. sudo su Disable SELinux. setenforce 0 sed -i –follow-symlinks ‘s/SELINUX=enforcing/SELINUX=disabled/g’Continue reading “Creating a kubernetes cluster”

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”

Install Docker from the Default CentOS 7 Repository


After logging into the server, install the latest version of Docker using yum. $ sudo yum -y install docker Once installation completes, enable & start the service using systemd. Create a new group named docker, then add the cloud_user user to the group.   # groupadd docker # usermod -aG docker cloud_user # systemctl enable –now docker Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service toContinue reading “Install Docker from the Default CentOS 7 Repository”

Build Automation Gradle Interview Questions


What does the command ./gradlew do when it is run from within a Gradle project’s directory? – It runs the Gradle Wrapper. What does a smoke test do? – Tests large-scale, basic things like whether or not the application runs. What can you use to take advantage of pre-built Gradle tasks created by the GradleContinue reading “Build Automation Gradle Interview Questions”