How Kubernetes is using in real Industry.

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.

Why we need Kubernetes?

Let’s talk about the real industry

Var Metal or Traditional Deployment
Virtualized deployment era

Benefits of Using Container:-

  • Less overhead
  • Increased portability
  • More consistent operation
  • Greater efficiency
  • Improved developer productivity and development pipeline & many more

Kubernetes provides you:-

  • 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.
  • Automatic bin packing You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs. Kubernetes can fit containers onto your nodes to make the best use of your resources.
  • 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, OAuth tokens, 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.

VMWare’s State of Kubernetes Survey

VMWare’s 2020 State of Kubernetes survey was completed by 247 individuals for organizations that all have at least 1,000 employees. Fifty percent of individuals surveyed were from organizations with 5,000 or more employees and 35% were from organizations with at least 1,000 developers. As a result, it’s important to appreciate that this survey was focused on large enterprises, providing a glimpse of Kubernetes usage in major corporations. It also was primarily focused on North America, with nearly 70% of respondents being from North American businesses.

Kubernetes Benefits for Enterprises

Notably, the data also shows that the increased usage and volume is for good reason, as organizations report that Kubernetes offers a number of benefits to organizations. A few key takeaways from the survey include:

  • 53% saw shortened development cycles with Kubernetes
  • 50% found that it helped to containerize monolithic apps
  • 42% said that it enabled the organization to move to the cloud
  • 33% found that it reduced public cloud costs

Where Kubernetes is Deployed

Another interesting takeaway from this survey is where enterprises are deploying Kubernetes. It’s important to recognize that most organizations are not simply running it in one location, but instead run it on-premises and across all clouds. Here are some specifics on where it’s currently deployed by enterprises:

  • 42% run it with a single, public cloud vendor
  • 31% utilize multiple public cloud vendors
  • 10% use distributed edge locations

Challenges with Kubernetes

While Kubernetes has some clear benefits, it’s important for organizations considering using this software to anticipate and plan for some of the challenges associated with it. The biggest noted challenge was a lack of experience and expertise working with the platform. To combat this issue, analysts suggest finding people that can help with deployment and management and working to utilize their expertise from the outset.

The Cloud Native Computing Foundation’s Kubernetes Survey

While VMWare’s survey provides some key insights, it’s only focused on large corporations, 68% of which are in North America. To provide a more comprehensive picture of Kubernetes usage globally and across businesses of all sizes, it’s helpful to also look at a recent survey by the Cloud Native Computing Foundation (CNCF). This survey had 1,337 responses, with only 37% of respondents being from North America and only 44% of respondents from organizations with more than 1,000 employees.

Benefits and Challenges

Respondents to the CNCF survey weighed the benefits of Kubernetes slightly differently than the larger enterprises in the VMWare survey did. The key benefits reported in the CNCF survey were faster deployment, improved scalability and availability, and more cloud portability.

Kubernetes Adoption

Our survey results indicate widespread adoption of Kubernetes (91%), especially in production environments (75%). Supported by a robust community of contributors, Kubernetes has taken significant market share away from other container management tools such as Docker Swarm and Amazon Elastic Container Service (ECS).

Companies using Kubernetes

Let’s talk about Use-Case of Kubernetes

Spotify

This digital music streaming service makes it simple for you to get quick access to millions of songs, videos, and podcasts from global artists. No matter what part of the world you belong to, it brings songs from your country’s artists.

Challenge face by Spotify

Launched in 2008, the audio-streaming platform has grown to over 200 million monthly active users across the world. “Our goal is to empower creators and enable a really immersive listening experience for all of the consumers that we have today — and hopefully the consumers we’ll have in the future,” says Jai Chakrabarti, Director of Engineering, Infrastructure and Operations. An early adopter of microservices and Docker, Spotify had containerized microservices running across its fleet of VMs with a homegrown container orchestration system called Helios. By late 2017, it became clear that “having a small team working on the features was just not as efficient as adopting something that was supported by a much bigger community,” he says.

Solution

“We saw the amazing community that had grown up around Kubernetes, and we wanted to be part of that,” says Chakrabarti. Kubernetes was more feature-rich than Helios. Plus, “we wanted to benefit from added velocity and reduced cost, and also align with the rest of the industry on best practices and tools.” At the same time, the team wanted to contribute its expertise and influence in the flourishing Kubernetes community. The migration, which would happen in parallel with Helios running, could go smoothly because “Kubernetes fit very nicely as a complement and now as a replacement to Helios,” says Chakrabarti.

Impact

The team spent much of 2018 addressing the core technology issues required for a migration, which started late that year and is a big focus for 2019. “A small percentage of our fleet has been migrated to Kubernetes, and some of the things that we’ve heard from our internal teams are that they have less of a need to focus on manual capacity provisioning and more time to focus on delivering features for Spotify,” says Chakrabarti. The biggest service currently running on Kubernetes takes about 10 million requests per second as an aggregate service and benefits greatly from autoscaling, says Site Reliability Engineer James Wen. Plus, he adds, “Before, teams would have to wait for an hour to create a new service and get an operational host to run it in production, but with Kubernetes, they can do that on the order of seconds and minutes.” In addition, with Kubernetes’s bin-packing and multi-tenancy capabilities, CPU utilization has improved on average two- to threefold.

“We saw the amazing community that’s grown up around Kubernetes, and we wanted to be part of that. We wanted to benefit from added velocity and reduced cost, and also align with the rest of the industry on best practices and tools.” — JAI CHAKRABARTI, DIRECTOR OF ENGINEERING, INFRASTRUCTURE AND OPERATIONS, SPOTIFY

What Industry Expert Say about Kubernetes:-

Conclusion

While it is not without its challenges, most organizations find that the benefits outweigh the costs and that using Kubernetes provides some substantial and tangible benefits for their organization. Amidst the current digital transformation, organizations are desperately working to develop new, useful software that can be more quickly and efficiently deployed. These surveys indicate that Kubernetes is helping to make this possible by shortening development times and leading to faster deployment.