codingstuff.io
ExploreTutorialsProblemsCS Subjects
Get Started
ExploreTutorialsProblemsCS Subjects
Get Started
codingstuff.io

Master the art of building software through interactive tutorials, real-world problems, and guided projects.

Pune, Maharashtra, India

codingstuffmail@gmail.com

Product

  • Explore
  • Tutorials
  • Problems
  • CS Subjects

Company

  • About
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Sitemap

© 2026 codingstuff.io. All rights reserved.

Built with ❤️ for developers everywhere

/
/
All Tutorials
☸️

Kubernetes

4 / 82 topics
1Getting Started with Kubernetes2Kubernetes Architecture Overview3Installing Kubernetes4Kubernetes Terminology
Tutorials/Kubernetes/Kubernetes Terminology
☸️Kubernetes

Kubernetes Terminology

Updated 2026-05-15
10 min read

Kubernetes Terminology

Introduction

Welcome to the world of Kubernetes! Kubernetes, often abbreviated as K8s, is an open-source platform designed to automate deploying, scaling, and operating application containers across a cluster of servers. It provides a robust framework for managing containerized applications, ensuring they are highly available, scalable, and easy to manage.

In this tutorial, we will explore essential Kubernetes terms and concepts that you need to understand as you begin your journey with Kubernetes. Whether you're a beginner or an intermediate developer, this guide will help you build a solid foundation of knowledge about Kubernetes terminology.

Concepts

1. Cluster

A Cluster in Kubernetes is a collection of physical or virtual machines (nodes) that are connected together and managed as a single unit. The cluster consists of one or more Master Nodes and multiple Worker Nodes.

  • Master Node: This node runs the control plane components, which manage the overall state of the cluster.
  • Worker Node: These nodes run the containerized applications (Pods) and report back to the Master Node about their status.

2. Node

A Node is a worker machine in Kubernetes that runs your application containers. Each node has a Kubelet, an agent that communicates with the Master Node and manages the Pods running on it.

3. Pod

A Pod is the smallest deployable unit in Kubernetes. It represents a single instance of a running process in your cluster. A Pod can contain one or more containers that share storage and network resources.

  • Containers: These are lightweight, standalone, executable packages that include everything needed to run an application: code, runtime, system tools, system libraries, and settings.

4. Deployment

A Deployment is a Kubernetes object used to manage the lifecycle of Pods. It ensures that a specified number of Pod replicas are running at any given time. Deployments handle tasks like scaling, rolling updates, and rollbacks.

5. Service

A Service in Kubernetes provides a stable network identity for a set of Pods. It abstracts away the underlying IP addresses and ports, allowing you to access your applications consistently.

  • Types of Services: ClusterIP (default), NodePort, LoadBalancer, and Headless.

6. Namespace

A Namespace is a virtual cluster within a physical cluster. It allows you to divide cluster resources between multiple users or projects without creating separate clusters.

7. ConfigMap

A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or configuration files.

8. Secret

A Secret is a Kubernetes object that stores sensitive information such as passwords, OAuth tokens, and SSH keys. Secrets are designed to be more secure than ConfigMaps, with additional encryption features.

Examples

Let's explore some practical examples of these concepts using the kubectl command-line tool.

Example 1: Creating a Pod

To create a simple Pod, you can use the following YAML configuration file:

YAML
1apiVersion: v1
2kind: Pod
3metadata:
4name: example-pod
5spec:
6containers:
7- name: nginx
8 image: nginx:latest

You can apply this configuration using kubectl:

Terminal
$ kubectl apply -f pod.yaml
Output
pod/example-pod created

Example 2: Creating a Deployment

To create a Deployment, you can use the following YAML configuration file:

YAML
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4name: example-deployment
5spec:
6replicas: 3
7selector:
8 matchLabels:
9 app: nginx
10template:
11 metadata:
12 labels:
13 app: nginx
14 spec:
15 containers:
16 - name: nginx
17 image: nginx:latest

You can apply this configuration using kubectl:

Terminal
$ kubectl apply -f deployment.yaml
Output
deployment.apps/example-deployment created

Example 3: Creating a Service

To create a Service for the Deployment, you can use the following YAML configuration file:

YAML
1apiVersion: v1
2kind: Service
3metadata:
4name: example-service
5spec:
6selector:
7 app: nginx
8ports:
9 - protocol: TCP
10 port: 80
11 targetPort: 80

You can apply this configuration using kubectl:

Terminal
$ kubectl apply -f service.yaml
Output
service/example-service created

What's Next?

Now that you have a good understanding of essential Kubernetes terminology and concepts, the next step is to learn how to use the kubectl command-line tool effectively. In the upcoming tutorial, we will explore various kubectl commands and how to manage your Kubernetes cluster using them.

Stay tuned for more tutorials on Kubernetes basics and advanced topics!

Info

Remember, practice makes perfect! Try creating different types of resources in your local or cloud-based Kubernetes clusters to gain hands-on experience.


PreviousInstalling KubernetesNext Using kubectl Command Line Tool

Recommended Gear

Installing KubernetesUsing kubectl Command Line Tool