Kubernetes rollout means updating any deployment. In Kubernetes, this is done with rolling updates. Rolling updates allow Deployments’ update to take place with zero downtime by incrementally updating Pods instances with new ones. The new Pods will be scheduled on Nodes with available resources.

First, it creates an updated pod and it deletes the old one. It will maintain the balance of the desired pods in a way that 75% of pods should be up. For creating new pods before deletion the allowed surge percentage is 125%.

NOTE: For scalling updation, rollout won't happen

you can update a previously created…

what is a namespace?

Namespaces are intended for use in environments with many users spread across multiple teams, or projects. Namespaces cannot be nested inside one another and each Kubernetes resource can only be in one namespace. Namespaces are a way to divide cluster resources between multiple users. Kubernetes is using a default namespace as default.

Create a namespace:

you can create a namespace by using a command prompt or using a YAML file.

using terminal

kubectl create namespace dev

using yml file

For that create a yml file called namespace.yml and put the following commands in it.

apiVersion: v1
kind: Namespace
name: dev

and run…

what is a deployment?

A Kubernetes Deployment is used to tell Kubernetes how to create or modify instances of the pods that hold a containerized application. Deployments can scale the number of replica pods, enable the rollout of updated code in a controlled manner, or roll back to an earlier deployment version if necessary.

How to create a deployment?

you can create a deployment either using a command or using a yaml file.

using a command:

kubectl create deployment my-webdep --image=nginx --replicas=1 --port=80

using yml file:

For that create a folder and inside that create a yml file as deployment.yml and paste the following command in that

apiVersion: apps/v1
kind: Deployment
name: nginx-deployment

what is a Kubernetes service?

A service is a type of Kubernetes resource that causes a proxy to be configured to forward requests to a set of pods. The set of pods that will receive traffic is determined by the selector, which matches labels assigned to the pods when they were created. A service is a REST object in Kubernetes whose definition can be posted to Kubernetes apiServer on the Kubernetes master to create a new instance.

Service types:

ClusterIP − This helps in restricting the service within the cluster. It exposes the service within the defined Kubernetes cluster.

NodePort − It will expose the service on…

what is Kubernetes?

Kubernetes is a system for managing containerized applications across a cluster of nodes. In simple terms, you have a group of machines and containerized applications (e.g. Dockerized applications), and Kubernetes will help you to easily manage those apps across those machines. It is used as an alternative for the docker swarm.

Kubernetes Architecture

Kubernetes follows a client-server architecture. The master server consists of various components including a kube-apiserver, an etcd storage, a kube-controller-manager, a cloud-controller-manager, a kube-scheduler, and a DNS server for Kubernetes services.

What is docker?

Docker is a set of the platform as service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files. They can communicate with each other through well-defined channels.

why we are using it?

It allows us to easily create, deploy and run our code/application. Docker gives flexibility and potentially reduces the number of systems needed because of some components called the image, container, and registry.


A Docker image is a read-only template that contains a set of instructions for creating a container that can run on the Docker…

In the previous story, I have briefly mentioned how to install Jenkins and some python configurations. Here I'm gonna directly start by creating a project on Jenkins.

Before that create a repo in Github and add a python file to it.

Then create a new project in Jenkins give a name and description. In the configuration, you have to follow the following steps

Copy your repo URL and paste it here

In this story, we are going to see how to install Jenkins, and running a python job in Jenkins.


  1. You can install jenkins directly from their official website and there will be a file called jenkins.war download that file.
  2. After downloading open your command prompt and direct it to the file where you saved the jenkins.rar file
  3. Then run the below command java -jar jenkins.war
  4. After that, you can see it loading so many files and there will be a password in that copy that
  5. Open your browser and paste the link or simply type localhost:8080 and hit enter
  6. It…

What is DevOps?

DevOps ( “development” and “operations”) is the combination of practices and tools designed to increase an organization’s ability to deliver applications and services faster than traditional software development processes.

  • Planning the next iteration of the product’s development
  • Building the code
  • Testing and deploying to the production environment
  • Delivering product updates
  • Monitoring and logging software performance
  • Gathering customer feedback

How does it differ from Agile?

MySQL Python/Connector is an interface for connecting to a MySQL database server from Python. It implements the Python Database API and is built on top of MySQL.


For installing MySQL-connector-python first you have to open your terminal and execute the following code

pip install mysql-connector-python

After installation, you have to import that package into your code and define your database name and other entities using connect().

You can establish a connection using the connect() constructor. This accepts the username, password, host and, name of the database you need to connect with (optional) and, returns an object of the MySQLConnection class.

Nandhabalan Marimuthu


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store