Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DevOps Lifecycle
  • DevOps Roadmap
  • Docker Tutorial
  • Kubernetes Tutorials
  • Amazon Web Services [AWS] Tutorial
  • AZURE Tutorials
  • GCP Tutorials
  • Docker Cheat sheet
  • Kubernetes cheat sheet
  • AWS interview questions
  • Docker Interview Questions
  • Ansible Interview Questions
  • Jenkins Interview Questions
Open In App
Next Article:
Kubernetes - Taint and Toleration
Next article icon

What is Kubernetes API ?Complete Guide

Last Updated : 23 Apr, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Kubernetes API is an application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster via HTTP. Users can directly interact with the Kubernetes API or via tools like kubectl. It supports retrieving, creating, updating, and deleting primary resources via POST, PUT, PATCH, DELETE, and GET. Kubernetes resources are stored as API objects. The API allows configuration to be managed analytically. The core Kubernetes API is flexible and can also be extended to support custom resources.

Kubernetes APIs Interaction

Table of Content

  • What Is The Kubernetes API?
  • Kubernetes API Terminology
  • Structure Of The Kubernetes API
  • How Does The Kubernetes API Work?
  • Creating A Kubernetes Resource
  • Updating A Kubernetes Resource
  • Deleting A Kubernetes Resource
  • Watching A Kubernetes Resource
  • How To Access Kubernetes API?
  • Using Kubectl
  • Direct Access With REST API
  • Methods Of Accessing REST APIs Of Kubernetes
  • Understanding Of Kubernetes API Groups
  • Examples Of API Groups
  • Understanding Of Kubernetes API Versioning
  • Accessing Clusters Using The Kubernetes API
  • Uses Of Kubernetes API
  • How To Enable Kubernetes API?
  • The API And Kubernetes Operator
  • Basic Chaacteristic For Kubernetes API Server Manageability
  • Conclusion
  • API Discovery
  • API Groups And Versioning
  • Kubernetes API - FAQ's

What Is The Kubernetes API?

Kubernetes Cluster known as K8s. It comes with many frameworks which are essential for orchestrating the applications across mutliple servers in a containerization environment. With these kubernetes cluster setup, It helps in managing and customizing the resources such as kubernetes Pods, Services and containers work for efficient application deployment and operations. The API acts as kubernetes control plane managing the cluster operations by continuously monitoring, detecting the changes and dynamically managing those resources. Baseed on the demand and application requirements, it will allocates and reallocates the resources ensuring the optimal performance, scalability and fault tolerance.

Kubernetes API Terminology

The following are the Key kubernetes API terminologies:

  • Pod: Pod is a smallest deployment unit and also known as fundamental units in kubernetes that represents a single running instance.
  • Node: A worker machine is called as a Node in where containers are running. Each node hosts multiple pods.
  • Cluster: A Cluster is a set of nodes that run containerized applications managed by the kubernetes Master. A kubernetes cluster may consist of several virtual or real computers.
  • Namespace: A Namespace is a method of providing cluster resources among several users or programs. It facilitate with isolating the resources from one to another with giving a name of scope.
  • Deployment: Deployment is a higher-level abstraction that helps in declarative definition of an application. It helps in managing the deployments and scaling of a set of pods.
  • Service: It is an abstration resource in kubernetes that establishes a stable end point for accessing a group of pods. Service facilitates the communication between different set of pods.
  • Replicaset: It is controller resource ensuring that a particular specified pod is running with the desired number of replicas. It is used for scaling and maintaining of pod replicas.
  • Label: Labels are key-value pairs that are attached to kubernetes objects such as Pods. These are used for organizing and selecting different processes using specified key-values.

To know more refer this article - Kubernetes Architecture

Structure Of The Kubernetes API

The Kubernetes API comes with a structural hierarchy for organising the resources and operations within the kubernetes ecosystem. At its core, The API is structured around 3 main levels. They are

1. Cluster Level: It is at the higher level of structure that comes with resources that define the entire kubernetes cluster itself. The resources included in the level are Nodes, Namespaces, PersistentVolumes, CustomResourceDefinitions (CRDs).

2. Resource Level: The resource level API comes with focusing and managing the workloads and services running on the cluster. The resources included in this level are Pods, Services, Deployments, ReplicaSets and StatefulSets.

3. Extension Level: The Extension-level API helps in extending the kubernetes functionality with additional resources and capabilities. The resources included in this level are Ingresses, CustomResourceDefintions (CRDs)

How Does The Kubernetes API Work?

The kubernetes API acts as a central interface for managing the resources within the kubernetes cluster. It comes with providing various actions including CRUD operations and Watch operations for efficient control and management of the resources in the cluster. On using the API calls user can raise the request with operations he would like to perform such as create, Read, Update, Delete and Watch the resources. The operations can be performable on the resources such as Pods, Deployments, Services etc.. Lets discuss about the operations one by one effectively.

Creating A Kubernetes Resource

When Creating A Kubernetes resource such as Deployment, Pods. User can customize and define their needed specifications such as replica count, deployment strategy to use and name of the deployment resource. Creating the resource with Yaml file provides more flexibility and customization over definition the resource. The following is an example of creating a kuberetes resource Deployment.

Creating Kubernetes Deployment Resource | Example

apiVersion: apps/v1
kind: Deployment
metadata:
name: mydeployment
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: mycontainer
image: nginx:latest
ports:
- containerPort: 80

Updating A Kubernetes Resource

For Updating the kubernetes resources, User has to specify or have to redefine their changes to respective resource name. For updating the resource we mostly the command `kubectl apply` for either through command line mode or through yaml file. K8s also offers with the option kubectl edit option to directly define resource. The following yaml file example illustrates about updating the kubernetes resource.

Kubernetes Resource Deployment Update | Example

apiVersion: apps/v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 5 # Updated number of replicas
template:
spec:
containers:
- name: my-container
image: nginx:1.21 # Updated container image version
ports:
- containerPort: 80

Now, run the below command for update the changes:

kubectl apply -f mydeployment.yaml

Deleting A Kubernetes Resource

Deleting a kubernetes resource such as Pods or Deployments can be performed through a straightforward using `kubectl delete` command following the resource type and name. The example command looks as follows

kubectl delete pods mypod

Here the kubectl make this as API request for performing delete operation and sends it to kube api-server in the master node and master node's controller resource delete that resource.

Watching A Kubernetes Resource

To watch a kubernetes resource, user can use the `kubectl get ` command following with resource type and name with flag `--watch`. The command as follows:

kubectl get pods --watch

This commands helps in continuously monitoring the specified resource with providing the real time updates and its status and any changes that occurs. Or else users can directly use the kubernetes API calls directly to implement more customized watch functionalities.

How To Access Kubernetes API?

In accessing the kubernetes API, developers mostly follow up 2 methods such as kubectl and direct access via REST API. The kubectl command line tool facilitates in providing a user-friendly interface for interacting with the kubernetes cluster, configuring the settings and retrieving the information. The following the two approaches of acessing kubernetes API. The approaches of access kubernetes API as follows:

1. Using Kubectl

2. Direct Access With REST API

Using Kubectl

The kubectl command serves as main interface of accessing the kubernetes API. The command `kubecl command view` provides the information regarding the cluster configurations including its location and credentials.

kubeclt config view

Direct Access With REST API

The alternative way accessing the REST API is the direct way of accessing the kuberentes API. This method of approach is the straight forward approach to interact with the API server. The following ar the methods of accessing the REST APIs of kubernetes.

Methods Of Accessing REST APIs Of Kubernetes

 If you want to access the REST API with an HTTP client like curl or wget, or a browser, there are multiple ways:

1. kubectl Proxy Mode: Ensuring API Server Identity

  • Run kubectl in a proxy mode to ensure the identity of the API server.
  • This method is recommended since it uses the stored API server location and verifies the identity using a self-signed cert.
  • Eliminating the risk of Man-In-The-Middle (MITM) attacks is possible by using this method.

2. Go And Python Client Libraries: Enhancing Access

  • Using Go or Python client libraries provides the effective programmatic access to the kubernetes REST API.
  • Implement the accessing with kubectl in proxy mode.
  • This works with client code that address the potential confusions by proxies.
  • To protect against man-in-the-middle attacks, you'll need to import a root cert into your web browser.

3. Using Curl, Get Or Browser For Direct Access

  • Use the web browsers or HTTP clients such as curl or wget for accessing kubernetes REST APIs directly.
  • Make sure of secure accessing by considering the above methods.

Understanding Of Kubernetes API Groups

In kubernetes, API Groups are the way of organizing and categorizing of resources. They come with a method of classifying the resources with similar features or attributes. The following are the key details of kuberentes AP groups.

  • Logical Organization Of Resources: API groups facilitates the logical organization of the resources based on their functionalities or purposes. The API group shares the common prefix in their names, making to easier understanding and managing of related components.
  • Scalability And Extensibility: API groups helps the kubernetes to be more scalable and extensible by making relevant resource into groups. kubernetes provides the modular and scalable architecture facilitating new resources allowing to add within the specific API groups without effecting the core functionalities of existing resources.
  • Custom Resource Definitions ( CRDs ): Custom Resource Definitions (CRDs) are created and managed in large part by API groups. By establishing the custom resources inside the API groups, users can add domin specific functionalities extending the capabilities of Kubernetes API. It helps in customization of fuctionalities meeting to the specific requirements of various projects or applications.

Examples Of API Groups

The following are the some of the common examples of the API groups in Kubernets:

  • Core API Group ( `/api/v1` ): This API group contains the fundamental resources like Pods, Resources and Nodes.
  • Apps API Group ( `/apis/apps/v1` ): This includes the resources such as Deployments, StatefulSets and DaemonSets looking on high-level application management.
  • Batch API Group ( `/apis/batch/v1` ): It contains the resources like Jobs and CronJobs specifically designed for batch programming.

Understanding Of Kubernetes API Versioning

Versioning of kubernetes API is essential for controlling platform's continuous development ensuring seamless integrations and operations. The following are the key points signifying the kubernetes API versioning:

  • Compatibility Assurance: Kubernetes API Versioning is a mechanism that is designed to ensure of making different components work together. Kubernetes provides a seamless interactions through out the ecosystem by supporting coexistence of tools and applications developed with different API releases by multiple versions.
  • Easy Upgrades And Transitions: API versioning plays an essential role in seamless upgrading the kubernetes Clusters. It makes the smaller possible modifications allowing clusters to run with multiple versions simultaneously. This approach minimizes the disruptions, making easier of usage for adopting to newer releases.
  • Resource Definition Evolution: API Versioning is essential for controlling kubernetes resource definition changes over the time. Versioning of the API allows in introducing new features and modifications for existing resources while preserving backward compatibility of kubernetes.
  • Client-Side Adaptability: Kubernetes clients tools like kubectl and custom applications facilitates in adjusting various API versions by adapting to different servers versions. This flexibility improves the seamless communication with kubernetes clusters running with various API versions smoothly and efficiently.

Understanding and efficient management of kubernetes API versioning is important for administrators, developers and operators to maintain a robust kubernetes deployment. It facilitates the users to enhance the capabilities of platform and easily adjust to changing environment.

Accessing Clusters Using The Kubernetes API

Step 1: Initiating Kubectl Proxy

  • Launch the kubernetes API proxy effortlessly using the following command.
  • This sets up a local server for serving on port 127.0.0.1:8001
$ kubectl proxy &
Initiating kubectl proxy

Step 2: Accessing The Dashboard

  • Open your browser and navigate to 127.0.0.1:8001
  • On Navigating to 127.0.0.1:8001 you will instantly gain the access to the kubernetes dashboard for simplified cluster management.
Accessing the K8S Dashboard

Step 3: Direct API Access

  • Now we can access any sector via port URL.
  • For example, To access the APIs app sector use the following URL:
127.0.0.1:8001/apis/apps/v1
Direct Kubernetes API Accessing

Step 4: Maximizing Efficiency

  • This method simplifies the administration and exploration of cluster resources by facilitating users quickly access to different Kubernetes API sections.
  • Navigating and communicating with your kubernetes cluster via API becomes effortless with these steps.

Uses Of Kubernetes API

The following are the uses of kubernetes API:

  • Resource Management: Developers users the Kubernetes API to performs the CURD operations (Create, Update, Read and Delete ) the resources such as Pods, Deployments, Services etc.. for efficient management of applications and infrastructure in the kubernetes cluster.
  • Cluster Configuration: Using Kubernetes API, administrators will do cluster wide configuration settings with resources such as network policies, access controls, and persistent storage configurations for optimizing the performance and enhancing the security across the cluster.
  • Monitoring And Logging: For the trouble shooting and management of resource usage effectively kubernetes API provides access for developers and users with cluster metrics, logs and events.

How To Enable Kubernetes API?

For the enablement of kubernetes API, you have to configure the kubernetes configuration file and have to expose the kbuerentes API-Server securely. In General adminstrators can accomplish by specifying the appropriate flags and customizing the settings at time of initializing the kubernetes cluster. For the enablement of kubernetes API the considerations includes such as defining the API's server, port and authentication mechanisms such as tokens or certificates. Once the configuration of kubernetes is done, then accessing of kubernetes API becomes easy with enabling users to interact with the cluster for managing of resources and perform the operations on resources. In general when you executing commands with kubectl also the same mechanism takes place by converting the command line commands into api calls.

The API And Kubernetes Operator

In kubernetes, The kubernetes operator is a method of packaging, deployment and management of application by providing extra more facilities, features with Kubernetes API via kubectl tooling. It act as a specialized controller with extending the kubernetes capabilities in handing the application's lifecycle automatically. It provides seamless, streamlined management for complex software instanes ith unparalleled efficiency.

API Discovery

API Discovery is the crictal aspect in the modern software devlopment to facilitates with systems to dynamically identify and interact with available APIs. It deals with mechanisms of discovering, exploring of endpoints, operations exposed by various API within a system network. Through API Discovery, developers can effectively integrate and manage the external services, frameworks in accelerating the development cycles.

API Groups And Versioning

API Groups and Versioning are essential in management of APIs effectively. API Groups facilitates with providing the logical grouping mechanism to related resources within an API. On the other hand, Versioning helps in evolving the APIs over the time maintaining back compatibility. Through using Versioning API, developers can able to introduce new features and improvements without changing existing one. Together API Grouping and versioning ensure the flexibility and scalbility with evolution of software systems.

Conclusion

In Conclusion, Kubernetes serves as a platform for controlling kuberentes cluster resources using RESTful interface. It support the direct interaction of cluster resources with the help of tools like kubectl. Kubernetes API Groups and Versioning facilitates the logical organization, scalability, and compatibility assurance for evolving kubernetes environments. Efficient accessing methods such as kubectl proxy mode and client libraries simplifies the cluster management. Overall API versioning and its access management facilitates the reliable and adaptable kubernetes deployment on meeting the containerization needs.


Next Article
Kubernetes - Taint and Toleration

M

mr0speedster
Improve
Article Tags :
  • Technical Scripter
  • Kubernetes
  • DevOps
  • Technical Scripter 2022
  • azure-kubernetes-services

Similar Reads

    Kubernetes Tutorial
    Kubernetes is an open-source container management platform that automates the deployment, management, and scaling of container-based applications in different kinds of environments like physical, virtual, and cloud-native computing foundations. In this Kubernetes Tutorial, you are going to learn all
    8 min read

    Introduction to Kubernetes

    Introduction to Kubernetes (K8S)
    Before Kubernetes, developers used Docker to package and run their applications inside containers. Docker made creating and running a single container easy, but it became hard to manage many containers running across different machines. For example, what if one container crashes? How do you restart
    15+ min read
    Kubernetes - Architecture
    Kubernetes Cluster mainly consists of Worker Machines called Nodes and a Control Plane. In a cluster, there is at least one worker node. The Kubectl CLI communicates with the Control Plane and the Control Plane manages the Worker Nodes. In this article, we are going to discuss in detail the architec
    5 min read
    Kubernetes - Monolithic Architecture of Kubernetes
    There is a new way of developing software apps using a microservices architecture. That's when all the buzz around containers and container orchestration has increased but we have been developing and using these large software apps even before most of us were born. So in this article, we will be dis
    7 min read
    Kubernetes Vs Docker
    Kubernetes and Docker are two of the most widely used technologies in modern application deployment and DevOps. Docker allows you to package applications into containers, making them easy to run anywhere. Kubernetes helps you manage, scale, and automate the deployment of these containers across mult
    5 min read

    Installation and Setup

    How to Install and Run a Kubernetes Cluster on Ubuntu 22.04 (Step-by-Step)
    You can install and configure Kubernetes in different ways on your personal laptops, physical servers, Virtual machines, and as a cloud service. Before moving ahead with this article, we need to have a basic understanding of Kubernetes and its architecture and containers. In this article, we will ge
    6 min read
    How to Install and Configure Kubernetes on Ubuntu?
    Kubernetes is open-source software that helps to solve problems related to container-based software automation. It is like a container based system, which helps to distribute out the work that needs to be executed while testing software. Kubernetes are portable in nature. That is why it is widely us
    8 min read
    How to set up Kubernetes cluster on local machine using minikube ?
    Creating a Kubernetes cluster on AWS, Google Cloud, etc, can be a little difficult and cost you a pretty decent amount of money. If you have a Windows machine or a mac then it is easy to create a multi-container cluster using Docker Desktop for windows/mac and use Kubernetes to manage the cluster. P
    3 min read

    Application Deployment

    What are Kubernetes Containers?
    Kubernetes is an open-source container orchestration framework that was originally developed by Google. Container orchestration is automation. It can facilitate you to deploy the identical application across different environments like physical machines, virtual machines cloud environments, or perha
    15 min read
    Kubernetes - Introduction to Container Orchestration
    In this article, we will look into Container Orchestration in Kubernetes. But first, let's explore the trends that gave rise to containers, the need for container orchestration, and how that it has created the space for Kubernetes to rise to dominance and growth. The growth of technology into every
    4 min read
    Kubernetes - Images
    Pre-requisite:- Kubernetes A container image is used to represent binary data that is being used to encapsulate an application and all its software dependencies. Container images can be represented as executable software bundles that run standalone and make very defined assumptions about their runti
    3 min read
    Kubernetes - Jobs
    Pre-requisite: Kubernetes In the Kubernetes world, jobs are considered an object to act as a supervisor or controllers of a task. The Kubernetes job will create a pod, monitor the task, and recreate another one if that pod fails for some reason. Upon completion of the task, it will terminate the pod
    4 min read
    Kubernetes - Labels & Selectors
    An open-source container management platform called Kubernetes automates the deployment, scaling, descaling, and load balancing of containers (also called a container orchestration tool). It was created by Google in Golang and has a sizable community as a result of that. Google eventually donated it
    5 min read
    Kubernetes - Namespaces
    Kubernetes Namespace is a mechanism that enables you to organize resources. It is like a virtual cluster inside the cluster. A namespace isolates the resources from the resources of other namespaces. For example, You need to have different names for deployments/services in a namespace but you can ha
    9 min read
    Kubernetes - Node
    Kubernetes Nodes are the Worker or master machines where the actual work happens. Each Kubernetes node has the services required to execute Pods and is controlled by the Control Plane. Each Kubernetes Node can have multiple pods and pods have containers running inside them. 3 processes in every Node
    13 min read
    Kubernetes - NodePort Service
    NodePort service in Kubernetes is a service that is used to expose the application to the internet from where the end-users can access it. If you create a NodePort Service Kubernetes will assign the port within the range of (30000-32767). The application can be accessed by end-users using the node's
    5 min read
    Kubernetes - ClusterIP vs NodePort vs LoadBalancer
    Three main service types are used in Kubernetes networking: ClusterIP, NodePort, and LoadBalancer. Each has a specific function in controlling external access and service-to-service communication. Comprehending their distinctions is essential for efficiently coordinating applications. This article e
    7 min read
    Kubernetes - Services
    Software deployment, scaling, and management are all automated using Kubernetes, an open-source container orchestration system. K8s is another name for Kubernetes. Kubernetes was initially developed by Google and is now managed by the Cloud Native Computing Foundation. Despite the fact that it now s
    3 min read
    Kubernetes Pods: How to Create and Manage Them
    Kubernetes is an open-source container orchestration system mainly used for automated software deployment, management, and scaling. Kubernetes is also known as K8s. Kubernetes was originally developed by Google, but it is now being maintained by the Cloud Native Computing Foundation. It was original
    13 min read
    How to Run Shell Commands in Kubernetes Pods or Containers
    In Kubernetes, we create pods by adding an extra layer of information on containers. This Kubernetes in short is known as K8s, an open-source container orchestration tool developed by Google. It is used to orchestrate the containers for bringing Agility in software deployment through scaling, and ma
    6 min read
    Kubernetes - Creating Multiple Container in a Pod
    Pre-requisite:- Kubernetes Kubernetes is a container management tool and it automates container deployment, load balancing, and container scaling. It is open-source and developed by Google in 2014 and written in Golang. All cloud providers adopt Kubernetes. It is scheduled runs and manages isolated
    3 min read
    Kubernetes - Replication Controller
    With the help of the open-source container orchestration technology Kubernetes, software deployment, scalability, and management are mostly automated. Another name for Kubernetes is K8s. Google created Kubernetes, which is now overseen by the Cloud Native Computing Foundation. Even though it now wor
    7 min read
    Kuberneters - Difference Between Replicaset and Replication Controller
    Pre-requisite: Kubernetes Kubernetes is also known as K8s is an open-source container orchestration tool developed by google which is used for automating software deployment, scaling, and management. Currently, it is being maintained by the cloud native computing foundation(CNCF). K8s has two versio
    4 min read
    What is Kubernetes Deployment?
    Kubernetes is an open-source Container Management tool that automates container deployment, container scaling, descaling, and container load balancing (also called as container orchestration tool). It is written in Golang and has a huge community because it was first developed by Google and later do
    10 min read

    Configmaps

    Kubernetes - ConfigMaps
    Kubernetes allows you to run and manage applications in containers. However, when you need to update configurations like usernames, passwords, or URLs without modifying the application code, ConfigMaps provide an efficient solution. ConfigMaps separate application configuration from the application
    10 min read
    Kubernetes - Create Config Map From Files
    Pre-requisite: Kubernetes While creating a manifest file in Kubernetes, we can define environment variables. However, when you have a lot of manifest files, it will become difficult to manage the environment data stored in various manifest files. To overcome this issue, we can manage environment dat
    3 min read
    Kubernetes - Create ConfigMap From YAML File
    A ConfigMap is a dictionary consisting of non-confidential data. Its primary role is to keep the configuration separate from the container image. ConfigMap can be created in different ways. This article will cover the declarative approach to creating ConfigMap from the YAML file. Example: apiVersion
    1 min read
    Kubernetes - Config Map From Directory
    Pre-requisite:- Kubernetes Software deployment, scalability, and administration are mostly automated using Kubernetes, an open-source container orchestration framework. K8s is another name for Kubernetes. Kubernetes was initially developed by Google and is now managed by the Cloud Native Computing F
    2 min read
    Kubernetes - Injecting ConfigMap as Files
    Pre-requisite:- Kubernetes The automated deployment, scaling, and administration of software using a system called Kubernetes, an open-source container orchestration tool. K8s is another name for Kubernetes. Kubernetes was initially developed by Google and is now managed by the Cloud Native Computin
    3 min read
    Kubernetes - Injecting ConfigMap in Pods
    Pre-requisite: Kubernetes Leveraging the open-source container orchestration engine Kubernetes to automate the deployment, scalability, and management of applications. Another name for Kubernetes is K8s. Google originally created Kubernetes, which is currently overseen by the Cloud Native Computing
    3 min read

    Scaling and Updating Applications

    Kubernetes - Volumes
    Kubernetes is an open-source container orchestration tool developed by Google. It is primarily employed to automate the deployment, scaling, and management of software. In short, Kubernetes is termed as K8s. Kubernetes is currently maintained by the Cloud Native Computing Foundation. Although it now
    9 min read
    Kubernetes - Secrets
    Kubernetes is an open-source container orchestration system mainly used for automated software deployment, management, and scaling. Kubernetes is also known as K8s. Kubernetes was originally developed by Google but it is now being maintained by Cloud Native Computing Foundation. It was originally de
    14 min read
    Kubernetes - Working With Secrets
    Kubernetes Secrets are objects that are used to store secret data in base64 encoded format. Using secrets enables developers not to put confidential information in the application code. Since Secrets are created independently of the pods, there is less risk of secrets being exposed. Uses of Secrets:
    1 min read
    Kubernetes - Load Balancing Service
    Before learning Kubernetes (or K8S in Short), you should have some knowledge of Docker and Containers. Docker is a tool that helps the developer create containers in which applications can run in an isolated environment. Containers are just an abstraction for the applications inside. Docker also pro
    12 min read
    Kubernetes - Service DNS
    An open-source container orchestration system called Kubernetes is primarily employed for the automated deployment, scaling, and management of software. Another name for Kubernetes is K8s. Initially created by Google, Kubernetes is currently maintained by the Cloud Native Computing Foundation. Altho
    11 min read

    Additional Topics

    What is Kubernetes API ?Complete Guide
    Kubernetes API is an application that serves Kubernetes functionality through a RESTful interface and stores the state of the cluster via HTTP. Users can directly interact with the Kubernetes API or via tools like kubectl. It supports retrieving, creating, updating, and deleting primary resources vi
    14 min read
    Kubernetes - Taint and Toleration
    A pod is a group of one or more containers and is the smallest deployable unit in Kubernetes. A node is a representation of a single machine in a cluster (we can simply view these machines as a set of CPU and RAM). A node can be a virtual machine, a physical machine in a data center hosted on a clou
    6 min read
    Kubernetes Resource Model (KRM) and How to Make Use of YAML?
    Here we will explain how YAML can simplify system management and automation of most processes so that Kubernetes is a convenient working system. Basic Kubernetes Models: KRM and Everything-as-CodeAccording to Kubernetes co-founder Brian Grant, Kubernetes is very convenient thanks to the Kubernetes R
    6 min read
    Installing Private Git Server on K8s Cluster with Gitea and AKS
    In this article, we are going to install a self-hosted Gitea server on top of Azure Kubernetes Service with Helm and set up a git repo. Having a private Git server might be beneficial these days. Gitea is a community-managed Git-compatible lightweight code hosting solution written in Go. It is publi
    4 min read
    Enable Remote Debugging For Java Application Deployed in Kubernetes Environment
    During Development, developers have to debug their applications to resolve code problems. In order to debug a java application which is deployed on remote machine in a Kubernetes cluster, first developer has to do some steps to enable its application ready for debugging. Below are the manual steps t
    2 min read
    How to Enable JMX For Java Application Running in the Kubernetes Cluster?
    Many times we want to monitor our application's CPU utilization, background thread behavior, and most importantly memory consumptions for tasks that deal with loads for data (500MB - 1GB) or much more data. Such monitoring helps to find which operation is causing heavy CPU or Memory utilization and
    3 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences