Skip to main content

Posts

Showing posts with the label container

Install kubernetes on Centos/RHEL 7

Kubernetes is a  cluster  and  orchestration  engine for docker containers. In other words Kubernetes is  an open source software or tool which is used to orchestrate and manage docker containers in cluster environment. Kubernetes is also known as k8s and it was developed by Google and donated to “Cloud Native Computing foundation” In Kubernetes setup we have one master node and multiple nodes. Cluster nodes is known as worker node or Minion. From the master node we manage the cluster and its nodes using ‘ kubeadm ‘ and ‘ kubectl ‘  command. Kubernetes can be installed and deployed using following methods: Minikube ( It is a single node kubernetes cluster) Kops ( Multi node kubernetes setup into AWS ) Kubeadm ( Multi Node Cluster in our own premises) In this article we will install latest version of Kubernetes 1.7 on CentOS 7 / RHEL 7 with kubeadm utility. In my setup I am taking three CentOS 7 servers with minimal installation. One server will acts master node and rest two serve...

Rancher

This exposes web hooks to talk to our environment. This is a microservice which we can deploy in our environment. Janitor is used for cleaning up unused images.  

Apache Mesos

mesos is private cloud for your data center. Use available resources in existing cluster. mesos is less like an cluster management but more like a kernel. mesos is a distributed system kernel. so this containers will scale up and down as required. zookeeper elects new master/scheduler timeout is also used to kill the master/scheduler. so if the master/scheduler that failed does not reconnect in the threshold period you will just kill all of the tasks pending there

Docker

currently with docker you are limited to only linux machines and apps. It is like installing various zip files on your os. because of the use of base image we can save space.All the containers use the same base image. If you want 100 containers in traditional vm env you would have needed 100GB space considering 1gb per image but with docker you will need only 1gb of space. Suppose if you need emacs and apache then docker will add to separate images for it on top of each other and with the base image it will form a union image. this image is readonly so to write in it docker will place a writable container and the whole set container:image(apache)+image(emacs)+base image will make a whole container in the docker.  But the writable container is not persistent. Docker boots the image/ image layers on top f each other. apt-cache search docker.io ---will display a list of packages containing docker apt-chache show docker.io ---- will display all details of packaage Check...