#10 KUBERNETES tutorial | LECTURE 5 | DevOps - (Hindi/Urdu)
Автор: Solution
Загружено: 2022-12-14
Просмотров: 263
#kubernetes #devops #hd #docker #linux #video #tutorial
In this video, I explained how to use multiple labels and how to select them with the help of selector and use cases of labels and selector for different environments.
I am here to provide you the easy and best ways to resolve your day in day out technical problems.
Will try my level best to provide you the real practical solutions for your real time experience !!
► Become a Linux Server Admin - (CentOS)
👉🏼 • Linux
► Become a Linux Server Admin - (Ubuntu)
• Ubuntu
► Become a Docker Champ - full course
👉🏼 • Docker complete course
► Become a Ansible Champ - full course
👉🏼 • #01 What Is Ansible | How Ansible Works | ...
► Become a Kubernetes master - full course
👉🏼 • Kubernetes
Kubernetes is one of the most popular tools in DevOps 🔥
In this video you will learn:
1) How to use multiple Labels and selectors
2) Why do we use multiple Labels and selectors
3) Use cases of Labels and selector
#linux #devops #kubernetes #tutorial #docker #tutorials #beginners
#jenkins #technology
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM
► / thesolution669
GMAIL
► solution.com.669@gmail.com
=========================================================
Channel Link
👉🏼 / @solution1305
I'm coming up with more such videos, I will sure make some change to your life. Subscribe to keep in touch.
Previous Video link about this topic: • #9 KUBERNETES tutorial | LECTURE 5 | DevOp...
SHARE this video with someone, it will help him/her and me. I'll really appreciate it. Here's the link • #10 KUBERNETES tutorial | LECTURE 5 | DevO...
Please comment below to ask any query.
Thank you
#solution
===========================================================
YAML Please copy command and compare with video because some Characters are not allowed in description section
===========================================================
apiVersion: v1
kind: Pod
metadata:
name: label-demo
annotations:
maintainer: "xyz@gmail.com - 12345"
labels:
app: nginx
env: prd
spec:
containers:
name: nginx
image: nginx
ports:
containerPort: 80
---
Service Configuration
--------------------
apiVersion: v1
kind: Service
metadata:
name: label-service-demo
spec:
ports:
port: 80
protocol: TCP
selector:
app: nginx
env: stg
type: NodePort
-----------------------------------------------------------------------------------
CREATE PODS YAML FILE:
vim labels.yaml
HOW TO CHECK ANNOTATION, LABELS and SELECTOR
kubectl describe pod POD_NAME
HOW TO DELETE PODS:
kubectl delete -f labels.yaml
HOW TO ACCESS CONTAINERS FROM PODS:
kubectl exec -it pod_name -c container_name -- /bin/bash
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: