Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes

  • Solution
  • 2023-06-12
  • 522
How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes
kubernetes tutorialdocker tutorialdevopsjenkinstutorials for beginnershowwhatwhentechsoftwaretechbussineswhere
  • ok logo

Скачать How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео How to use volumes ? PV and PVC || Lec 9 || Part03 || Kubernetes

#kubernetes #devops #docker #linux #technology #video #tutorial #bestteacher #videos

Hi there, its HASSAN AHMED here as your new MENTOR.

In this video, I will explain how we can use hostPath volume and emptyDir volume and how they works with practical example
What is the main difference between them with practical examples

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 HostPath retain the data?
2) How HostPath volume work with different nodes
3) HostPath and EmptyDIr difference
4) EmptyDir volume with sidecar containers

#tutorials #beginners

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

INSTAGRAM
►   / thesolution669  

GMAIL
► [email protected]

=========================================================

Channel Link

👉🏼    / @solution1305  

I'm coming up with more such videos, I will make sure to make some change to your life.

Do subscribe my channel for more exciting videos.
Please like, share and press the bell icon to get notifies for my new videos.
Please comment below to ask any query.

Thank you,
Solution


====================================
YAML
====================================
HOSTPATH

PV YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: my-pv-hostpath
spec:
capacity:
storage: 2Gi
accessModes:
ReadWriteMany
persistentVolumeReclaimPolicy: Retain
hostPath:
path: /data/ my-pv-hostpath


PVC YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-pvc-hostpath
spec:
accessModes:
ReadWriteMany
resources:
requests:
storage: 1Gi
volumeName: my-pv-hostpath


POD YAML

apiVersion: v1
kind: Pod
metadata:
name: nginx-webserver
spec:
containers:
image: nginx
name: webserver
imagePullPolicy: IfNotPresent
ports:
containerPort: 80
name: http
volumeMounts:
mountPath: /usr/share/nginx/html
name: app-data
volumes:
name: app-data
persistentVolumeClaim:
claimName: my-pvc-hostpath

EMPTYDIR

POD YAML

apiVersion: v1
kind: Pod
metadata:
name: pod-emptydir
spec:
containers:
image: nginx
name: pod-emptydir
imagePullPolicy: IfNotPresent
volumeMounts:
mountPath: /usr/share/nginx/html
name: emptydir-vol
volumes:
name: emptydir-vol
emptyDir:
sizeLimit: 500Mi


OLD SIDECAR POD LECTURE

apiVersion: v1
kind: Pod
metadata:
name: simple-webapp
labels:
app: webapp
spec:
containers:
name: main-application
image: nginx
volumeMounts:
name: shared-logs
mountPath: /var/log/nginx
name: sidecar-container
image: busybox
command: ["sh","-c","while true; do cat /var/log/nginx/access.log; sleep 2; done"]
volumeMounts:
name: shared-logs
mountPath: /var/log/nginx
volumes:
name: shared-logs
emptyDir: {}

HOW TO CHECK TAINT ON NODE:
kubectl describe nodes k8s-worker | grep Taint

HOW TO SET TAINT ON NODE:
kubectl taint nodes k8s-worker key1=value1:NoSchedule

HOW TO REMOVE TAINT FROM NODE:
kubectl taint nodes k8s-worker key1=value1:NoSchedule-

CREATE YAML FILE:
vim pv-pvc.yaml

HOW TO APPLY YAML:
kubectl apply -f pv-pvc.yaml

HOW TO CHECK PV & PVC:
kubectl get pv,pvc -o wide

HOW TO CHECK PV EVENTS:
kubectl describe pv PV-NAME

HOW TO CHECK PVC EVENTS:
kubectl describe pvc PVC-NAME

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]