Posts

Showing posts from October, 2018

Kubernetes cluster configuration in a Virtualbox with vagrant

Image
Thanks to Rajkumar who had developed the Vagrantfile and published in the github on Kubernetes cluster configuration in a Virtualbox with vagrant. For those who don't know about Vagrant it is a tool that will be used for virtualization into a different level and more powerful way of using your system resources to run multiple operating virtual boxes in your Laptop/Desktop systems. You just need to follow the simple steps which I had done in my experiment: Prerequisites for Kubernetes Cluster Creation Download latest Vagrant Download latest version of Oracle VirtualBox System resources requirements on VirtualBox 2 GB for each node 2 cores CPUs for each node Here I have don this expeiment on my Windows 7 laptop. You could do same on any Windows higher version as well. Total 3 VMs will be created under a group named as - "Kubernetes Cluster" as defined in Vagrantfile. Infrastructure as a Code: Vagrantfile  The Vagrantfile will be composed w...

Docker Container Concepts

Image
Container Concepts: Steps for Automation Hey! guys this post is about the containers specific commands examining each and the best outputs are collected. Hope this could help you in preparing automation in docker pipeline CI/CD scripts, and you feel enjoy this exploring post helpful! Docker is a platform for developers and sysadmin to develop, deploy and run applications with containers. The use of Linux containers to deploy applications is called containerization. Docker Container Concepts Containerization is increasingly popular because containers are : Flexible : Even the most complex applications can be containerized. Lightweight : Containers leverage and share the host kernel. Interchangeable : You can deploy updates and upgrades on-the-fly. Portable : You can build locally, deploy to the cloud, and run anywhere. Scalable : You can increase and automatically distribute container replicas. Stackable : You can stack services vertically and on-the-fly. How Image...

Docker - Post install Tasks

Docker - Post-install steps Manage Docker as a non-root user Docker daemon binds to a Linux socket instead of a TCP port. By default that Unix socket is owned by the user "root" and other users can only access it using sudo. The docker daemon always runs as the root user. To avoid using sudo , create a Unix group called docker and add users to it. When the Docker daemon starts, it creates a Unix socket accessible by members of the docker group. The docker group grants privileges equivalent to the root user. To create the docker group and add your user: 1. Create the docker group sudo groupadd docker 2. Add your user to the docker group sudo usermod -aG docker $USER 3.Logout and log back 4.Verify that you can run docker commands without sudo: docker run hello-world If you initially ran Docker CLI commands using sudo before adding your user to the docker group, you may see the following error, which indicates that your ~/.docker/ directory was creat...

Docker CE Installation on CentOS

Image
Docker CE Installation on CentOS: For this minimum required version of CentOS 7 required for Docker and enabled with the centos-extras repository. Uninstall old versions of docker if any   Docker or docker-engine old versions along with associated dependencies should be uninstalled before proceeding for new installation: $ sudo yum remove docker \                   docker-client\                   docker-client-latest \                   docker-common \                   docker-latest \                   docker-latest-logrotate \                   docker-logrotate \                   docker-selinux \               ...

Overview of Docker Editions

Image
In this post, we would like to discuss on the different flavours currently available in docker.io site. When you start exploring things at the top level to design the infrastructure for a project that has microservice architecture and needs to be scaled in future, this would give some insights to make a decision on what to choose why. docker editions in details Docker is available in two editions: Community Edition (CE) Enterprise Edition (EE) Docker Community Edition (CE) is ideal for individual developers and small teams looking to get started with Docker and experimenting with container-based apps. Docker Enterprise Edition (EE) is designed for enterprise development and IT teams who build, ship and run business-critical applications in production at scale. About Docker Community Edition (CE): Docker Community Edition (CE) is ideal for developers and small teams looking to get started with Docker and experimenting with container-based apps. Docker CE ha...