Skip to main content

Posts

Showing posts with the label kubectl

Installing Kubernetes 1.8.1 on centos 7 with flannel

Prerequisites :- You should have at least two VMs (1 master and 1 slave) with you before creating cluster in order to test full functionality of k8s. 1] Master :- Minimum of 1 Gb RAM, 1 CPU core and 50 Gb HDD     ( suggested ) 2] Slave :- Minimum of 1 Gb RAM, 1 CPU core and 50 Gb HDD     ( suggested ) 3] Also, make sure of following things. Network interconnectivity between VMs. hostnames Prefer to give Static IP. DNS entries Disable SELinux $ vi /etc/selinux/config Disable and stop firewall. ( If you are not familiar with firewall ) $ systemctl stop firewalld $ systemctl disable firewalld Following steps creates k8s cluster on the above VMs using kubeadm on centos 7. Step 1] Installing kubelet and kubeadm on all your hosts $ ARCH=x86_64 $ cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-${ARCH} enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://packages.cloud.google.com/yu...

Installing Kubernetes on your Windows with Minikube

Personally I think if you are looking for a container management solution in today’s world, you have to invest your time in  Kubernetes  (k8s). There is no doubt about that because of multiple factors. To the best of my undestanding, these points include: Kubernetes is  Open Source Great momentum in terms of activities & contribution at its  Open Source Project Decades of experience running its  predecessor  at Google Support of multiple OS and infrastructure software vendors Rate at which features are being released Production readiness (Damn it,  Pokemon Go  met its scale due to Kubernetes) Number of features available. Check out the list of features at the  home page . The general perception about a management solution like Kubernetes is that it would require quite a bit of setup for you to try it out locally. What this means is that it would take some time to set it up but more than setting it up, you might probably get access to it only during staging phase or so...