Skip to main content

Posts

Showing posts with the label service

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...

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...

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...

Chef: Services

The  service-list  subcommand is used to display a list of all available services. A service that is enabled is labeled with an asterisk (*). This subcommand has the following syntax: $ chef-server-ctl service-list The output will be as follows: bookshelf* nginx* oc_bifrost* oc_id* opscode-chef-mover* opscode-erchef* opscode-expander* opscode-pushy-server* opscode-reporting* opscode-solr4* postgresql* rabbitmq* redis_lb* bifrost ¶ The  oc_bifrost  service ensures that every request to view or manage objects stored on the Chef server is authorized. status ¶ To view the status for the service: $ chef-server-ctl status bifrost to return something like: $ run: bifrost: ( pid 1234 ) 123456s ; run: log: ( pid 5678 ) 789012s start ¶ To start the service: $ chef-server-ctl start bifrost stop ¶ To stop the service: $ chef-server-ctl stop bifrost restart ¶ To restart the service: $ chef-server-ctl restart bifrost to return something like: $ ok: run: bifrost: ( pid 1234 ) 1234s kill ¶ To kill...

Introducing the NGINX Application Platform

We live in one of the most exciting times in history. The amount of technological innovation that has happened over the past few years is remarkable. For anyone looking to start their own business, the barriers to entry have never been lower. Existing organizations are more empowered than ever before to offer their services to a broad audience.At the core of this innovation is open source software. I’ve been fortunate to be involved in the open source world for many years. Open source has accomplished a great deal, but the best is definitely yet to come.Today I’m excited to announce the  NGINX Application Platform . A suite of four products, built on open source technology, that together, I believe, will help organizations offer more to a broader, truly global audience. Combined, these four tools are at the core of what organizations need to create applications with performance, reliability, security, and scale. The NGINX Application Platform gives enterprises the tools the...

Introducing the NGINX Application Platform

We live in one of the most exciting times in history. The amount of technological innovation that has happened over the past few years is remarkable. For anyone looking to start their own business, the barriers to entry have never been lower. Existing organizations are more empowered than ever before to offer their services to a broad audience.At the core of this innovation is open source software. I’ve been fortunate to be involved in the open source world for many years. Open source has accomplished a great deal, but the best is definitely yet to come.Today I’m excited to announce the  NGINX Application Platform . A suite of four products, built on open source technology, that together, I believe, will help organizations offer more to a broader, truly global audience. Combined, these four tools are at the core of what organizations need to create applications with performance, reliability, security, and scale. The NGINX Application Platform gives enterprises the tools they need to de...