Kubernetes — Industry Use Cases : Expert Session

Saumy Srivastava
5 min readMar 9, 2021

An amazing session with the best experts of the industry — Mr. Neeraj Bhatt, Mr. Vijit Kuntal and Mr. Rushil Sharma.

In the journey as the ARTH Learner in the program “ARTH -2020” under the guidance of ‘The World Record Holder Mr. Vimal Daga Sir’, I got to explore more and in this series of learning, I attended live session on Kubernetes Industry use cases delivered by none other than Mr. Neeraj Bhatt Sir (Senior Technical Engineer - OpenShift, Redhat), Mr. Vijit Kuntal Sir (Consultant, Infosys Belgium) and Mr. Rushil Sharma Sir (Customer Engineer Hybrid Cloud, Google).

Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.

What is Kubernetes?

✔ Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.

✔ To get to know more about Kubernetes, visit :Get Into The World Of Kubernetes”.

What is OpenShift?

✔OpenShift is a family of containerization software offerings created by the Red Hat. According to the company, Kubernetes is the kernel of distributed systems, while OpenShift is the distribution. At its core, OpenShift is a cloud-based Kubernetes container platform that’s considered both containerization software and a platform-as-a-service (PaaS).

✔ It’s also partly built on Docker, another popular containerization platform. OpenShift offers consistent security, built-in monitoring, centralized policy management, and compatibility with Kubernetes container workloads. It’s fast, enables self-service provisioning, and integrates with a variety of tools.

Kubernetes Vs OpenShift

✔ Both Kubernetes and OpenShift features robust and scalable architecture that enables rapid and large-scale development of applications, deployment, and management. Both runs on the Apache License 2.0. But that’s just about where the similarities end. While, OpenShift and Kubernetes differ in the following aspects :

Deployment

✔ Kubernetes offers more flexibility as an open-source framework and can be installed on almost any platform — like Microsoft Azure and AWS — as well as any Linux distribution, including Ubuntu and Debian. OpenShift, on the other hand, requires Red Hat’s proprietary Red Hat Enterprise Linux Atomic Host (RHELAH), Fedora, or CentOS.

Support

✔ OpenShift has a much smaller support community that is limited primarily to Red Hat developers. While, Kubernetes has a large active community of developers who are continuously collaborating on refining the platform. It also offers support for multiple frameworks and languages.

Networking

✔ OpenShift has its out-of-the-box networking solution called Open vSwitch, which comes with three native plug-ins. Kubernetes, on the other hand, lacks a networking solution but lets users employ third-party network plug-ins.

Container Image Management

✔ OpenShift let’s developers use Image Streams to manage container images, while Kubernetes doesn’t offer container image management features.

Security

✔ OpenShift has strict security policies. It also offers a secure-by-default option to enhance security. Whereas, Kubernetes doesn’t come with built-in authentication or authorization capabilities, so developers must create bearer tokens and other authentication methodologies.

🔰 Apart from the above mentioned, in the session, got to learn more things like CVS(Centralized Version System), Global Traffic Manager, Chaos Testing, Use of Grafana and many more. It was a great session. Through this prodigious session, I got to explore more and here I’m sharing those.

👉🏻 What is CVS ?

CVS is ‘Centralized Version System’, it is used as a version control system, where we are working on the file system basis. It doesn’t provide the facility of local copy of the remote repository in the local system. Nowadays, we are shifting to distributed version control system and integrated with the Jenkins.

👉🏻 Why is Git preferred over CVS ?

Git is preferred over CVS :

→ Git works on the concept of distributed version control system which helps in better way to work in big team.

→ Git UI has a better picture of repositories, which gives better insight of work in progress. And, it is also a better tool to merge the branches (Easy to reconcile).

👉🏻 What is the need of different environments in Production ?

There is a need of different environments in Production, because it provides effective code or application management as well as troubleshooting. Using multiple environments keeps a team productive. With multiple environments, it enables a team to work on parallel development efforts.

👉🏻 What is Global Traffic Manger ?

Global Traffic Management (GTM) is designed so that Internet users can more reliably get to your websites 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 ?

Chaos testing creates some random failures on the server to check how the server and cluster is performing, git kraken is a tool to do this on k8s cluster. If we are running large distributed systems using cloud computing with a variety of services and process’s designed to scale up and out injecting some chaos will potentially be very valuable.

👉🏻 What are CPU Requests, CPU Limits, CPU Leaks ?

→ CPU Request : It is the number of CPU that is required for the smooth running of the environment or the container.

→ CPU limit : It ensures that the pod should not go beyond that limit while in use.

→ CPU Leak : If we don’t set the limit then pod will keep on demanding the CPU and thus there will be time when it exceed the max and which will cause CPU leaks.

👉🏻 What is Security Context Constraints (SCC) ?

Security Context Constraints (SCC) is a service provide by OpenShift which allows administrators to control permissions for pods. We can manage SCC’s in our instance as normal API objects using the command line interface (CLI).

👉🏻 What are Linux Namespaces ?

‘Linux Namespaces’ are the feature of 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 resources.

👉🏻 What is the use of Grafana ?

Grafana is an open source solution for running data analytics, pulling up metrics that make sense of the massive amount of data & to monitor our apps with the help of cool customizable dashboards.

Grafana connects with every possible data source, commonly referred to as databases such as Graphite, Prometheus, Influx DB, ElasticSearch, MySQL, PostgreSQL etc.

Grafana being an open source solution also enables us to write plugins from scratch for integration with several different data sources. The tool helps us study, analyze & monitor data over a period of time, technically called time series analytics.

🔰 Now, that was a whole lot to cover but if you read it, Kudos! 🔰

✍️ Stay tuned for further readings on Kubernetes and OpenShift, that will be more insightful same as this article and it will have an overview of these services and helps you to understand the power of container technologies.

Stay Safe! Keep Learning!

#RedHat #vimaldaga #righteducation #educationredefine #rightmentor #linuxworld #makingindiafutureready #righeducation #arthbylw #containerbylw #kubernetes #google #infosysbelgium #expertsession

--

--

Saumy Srivastava

#techiesam #DevOps Engineer #Cloud Enthusiast #Technology lover #Curious