INDUSTRY USE CASES with Demonstration on Kubernetes…!!

Mudit Mathur
5 min readMar 9, 2021

Hey folks, I hope you are all doing good. I am writing this article to share my insights over Industry Use cases of Kubernetes, a webinar organized by lwindia.org

We must be wondering why do we need kubernetes for? what it can do for us? why industries are adopting kubernetes? Then you are on the right page,where i will answer all of your questions. Lets have a look,

Containers are a good way to bundle and run your applications. In a production environment, you need to manage the containers that run the applications and ensure that there is no downtime. For example, if a container goes down, another container needs to start. Wouldn’t it be easier if this behavior was handled by a system?

That’s how Kubernetes comes to the rescue! Kubernetes provides you with a framework to run distributed systems resiliently. It takes care of scaling and failover for your application, provides deployment patterns, and more. For example, Kubernetes can easily manage a canary deployment for your system.

Kubernetes provides you with:

  • Service discovery and load balancing Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.
  • Storage orchestration Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.
  • Automated rollouts and rollbacks You can describe the desired state for your deployed containers using Kubernetes, and it can change the actual state to the desired state at a controlled rate. For example, you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.
  • Self-healing Kubernetes restarts containers that fail, replaces containers, kills containers that don’t respond to your user-defined health check, and doesn’t advertise them to clients until they are ready to serve.
  • Secret and configuration management Kubernetes lets you store and manage sensitive information, such as passwords and SSH keys. You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.

Let me conclude the experts insights,

What is CVS?

CVS stands for Centralized version control systems ,its centralized storage system for developers where all the codes are being stored without local copies.

In centralized source control, there is a server and a client. The server is the master repository which contains all of the versions of the code. To work on any project, firstly user or client needs to get the code from the master repository or server. So the client communicates with the server and pulls all the code or current version of the code from the server to their local machine

Why is Git preferred over CVS?

Git offers a very, very limited set of keywords as compared to CVS . This is because of two facts: changes in Git are per repository and not per file, and Git avoids modifying files that did not change when switching to other branch

Git offers many other features like CI/CD pipeline integration and all over CVS & Git allows its users to work on a line that runs parallel to the main project files. These lines are called branches. Branches in Git provide a feature to make changes in the project without affecting the original version

What is the need of different environments in Production?

Different environments are used in production because it helps to manage the code or applications effectively. For example, A company has two environments one is for testing and the second is for production. Developers will make changes in the testing environment first for testing the applications and then the production. In this way, they can safely deploy their application

What is Global Traffic Manger?

Global Traffic Management (GTM) is tool which allows Internet users to more reliably get to your websites/server or any other IP application.

It applies an Internet-centric approach to global load balancing to provide high site availability and responsiveness to online user requests.

What is Chaos Testing?

chaotic testing is simply creating the capability to continuously, but randomly, cause failures in your production system. This practice is meant to test the resiliency of the systems and the environment. Chaos Testing creates random failures in the production system to check the resilience of the cluster. One popular tool to do this on a Kubernetes cluster is Kraken.

What are CPU Requests, CPU Limits, CPU Leaks?

CPU Requests : the minimum CPU which has been permanently allotted to microservices that means it will get that certain CPU everytime.

CPU Limit : The max CPU which will can be provided by the hardware to the pods/service

CPU leaks: It is a scenario when a particular program asks for more CPU but doesn’t releases the resources when the job is done , it continuously goes on allocating more resources then the limit.

What is Re-Purpose?

rePURPOSE Technologies provides an easy collection platform allowing consumers to engage directly to return their plastics, thus ensuring NO PLASTIC IS LEFT BEHIND. We then integrate the collected plastics through patented technologies to rePURPOSE the plastic into a useful and recyclable products.

What is SCC?

OpenShift provides security context constraints (SCC) that control the actions that a pod can perform and what it has the ability to access.

What are Linux Namespaces?

Namespaces are a feature of the Linux kernel that partitions kernel resources such that one set of processes sees one set of resources while another set of processes sees a different set of resource

What is the use of Grafana?

Open source grafana was designed to work as a UI for analyzing metrics. As such, it can work with multiple time-series data stores, including built-in integrations with Graphite, Prometheus, InfluxDB, MySQL, PostgreSQL, and Elasticsearch, and additional data sources using plugin.

Thank You .I hope this article will give you some useful information.

https://www.linkedin.com/in/mudit-mathur-535786146/

--

--