#9 KUBERNETES tutorial | LECTURE 5 | DevOps - (Hindi/Urdu)
Автор: Solution
Загружено: 2022-12-11
Просмотров: 356
Описание:
#kubernetes #devops #hd #docker #linux #best #video #tutorial #youtubeshorts #youtube #youtuber
In this video, I explained what is annotation , labels and selector and I explain how important they are and how to use them into your projects.
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) What is kubernetes Annotation, Labels and selector
2) Why do we use Annotation, Labels and selector
3) How to use Annotation, Labels and selector
4) How to expose nginx page with nodeport service
5) How to access pods with the help of labels and selectors
#linux #devops #kubernetes #tutorial #docker #tutorials #beginners
#jenkins
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM
► / thesolution669
GMAIL
► [email protected]
=========================================================
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: • #8 KUBERNETES tutorial | LECTURE 4 | DevOp...
SHARE this video with someone, it will help him/her and me. I'll really appreciate it. Here's the link • #9 KUBERNETES tutorial | LECTURE 5 | DevOp...
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: "[email protected] - 12345"
labels:
app: nginx
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
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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: