---
title: "Discussion on \"Kubernetes Core Concepts - Labels, Selectors and Annotations\" | Hashnode"
description: "Discussion on \"Kubernetes Core Concepts - Labels, Selectors and Annotations\". What are Labels in Kubernetes?\nAs per official  documentation  Labels are key/value pairs that are attached to objects, such as pods, services, deployments and replicasets etc.\nWhen we categorize something based on their properties or characteristics..."
url: "https://hashnode.com/posts/kubernetes-core-concepts-labels-selectors-and-annotations/60e020064f8e376422a76e4e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Kubernetes Core Concepts - Labels, Selectors and Annotations](https://blog.learncodeonline.in/kubernetes-core-concepts-labels-selectors-and-annotations?utm_source=hashnode&utm_medium=feed)

What are Labels in Kubernetes? As per official documentation Labels are key/value pairs that are attached to objects, such as pods, services, deployments and replicasets etc. When we categorize something based on their properties or characteristics...

Jul 3, 2021 · 5 min read · blog.learncodeonline.in  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#linux](https://hashnode.com/tag/linux)
-   [#automation](https://hashnode.com/tag/automation)

## Written by

[Rakesh Jain](https://hashnode.com/@rakeshrhcss)

@rakeshrhcss · India

  
[View profile](https://hashnode.com/@rakeshrhcss)

DevOps with Rakesh!

DevOps Professional | Technical writer

## Responses 1

Markdown supported · ⌘↵ to post

[Arun](https://hashnode.com/@Arun944)

[Aug 15, 2023](https://hashnode.com/posts/kubernetes-core-concepts-labels-selectors-and-annotations/60e020064f8e376422a76e4e/comment/64db6cb14429385b9280152f)

Nice Article.

Could you please provide realtime example for match expression with yaml file?
