Posts

Deploying GCS on kubernetes cluster

Image
What is GCS? GCS a.k.a Gluster Container Storage is an  initiative to provide a new stack focused on easier integration, much more opinionated bases install, a better upgrade experience to deploy Gluster for container storage. We are primarily focused on integration with Kubernetes (k8s) through this initiative. To deploy kubernetes cluster please refer to kubernetes-deploymen-guide . We will deploy GCS on 3 node kubernetes cluster. Node configurations: OS: Fedora 29 RAM: 128 GB CPUs: 24 Steps to deploy GCS: To deploy GCS we will require an inventory file mentioning the the gcs nodes and devices to be used. Template for GCS inventory file can be found under deploy directory in gcs repository: https://github.com/gluster/gcs/blob/master/deploy/examples/inventory-gcs-kubespray.example If you have deployed kubernetes using kubernetes-deployment-guide , then you will have to add the gcs related sections that were removed in STEP-5 of that guide. Ins...

Deploying Kubernetes on bare metal machines

Image
What is Kubernetes? Kubernetes is an open-source container orchestration system for automating application deployment, scaling, and management. More about kubernetes can be found out on its website. In this blog, we will deploy kubernetes on a 4 node cluster using ansible scripts from the gcs repository . For this blog, we are considering only bare metal machines and not VMs. Cluster : Total number of nodes : 4 {Node1: kube1, Node2: kube2, Node3: kube3, Node4: kube4} Master nodes : 1 {kube1} Kube nodes: 4 Steps to install kubernetes: Install ansible on master node: $ yum install ansible PS: ansible can be installed on any system/node even outside the cluster but for this post       we will be installing it on the master node. To ensure ansible is able to ssh into the nodes, add public key of master node{kube1}as authorized key in other kube nodes $ cat ~/.ssh/id_rsa.pub | ssh root@kube2 'cat >> ~/.ssh/aut...