On-disk files in a container are ephemeral, which presents some problems for non-trivial applications when running in containers. One problem is the loss of files when a container crashes. The kubelet restarts the container but with a clean state. A second problem occurs when sharing files between containers running together in a Pod. The Kubernetes volume abstraction solves both of these problems. Familiarity with Pods is suggested.
Types of Volumes
Kubernetes supports several types of volumes.
awsElasticBlockStore
An awsElasticBlockStore volume mounts an Amazon Web Services (AWS) EBS volume into your pod. Unlike emptyDir, which is erased when a pod is removed, the contents of an EBS volume are persisted and the volume is unmounted. This means that an EBS volume can be pre-populated with data, and that data can be shared between pods.
Note: You must create an EBS volume by using aws ec2 create-volume or the AWS API before you can use it.
There are some restrictions when using an awsElasticBlockStore volume:
the nodes on which pods are running must be AWS EC2 instances
those instances need to be in the same region and availability zone as the EBS volume
EBS only supports a single EC2 instance mounting a volume
🚩 Connect with me on social:
🔖 Visit Website - https://www.maddysworld.net/
🔖 Blog - https://www.maddysworld.co.in/
🔖 Instagram - / maddy_sworld
🔖 Facebook Page - / maddy.w.313
🔖 Linkedin - / maddy-s-world-0637371a9
🔔 Subscribe to my YouTube channel
/ maddysworld
Join this channel to get access to perks:
/ @maddysworld
🎬 Want to watch again? Navigate back to my YouTube channel quickly
/ maddysworld
Поделиться в:
Доступные форматы для скачивания:
Скачать видео mp4
Информация по загрузке:
Скачать аудио mp3
Похожие видео
array(10) {
[0]=>
object(stdClass)#5040 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "ztJc4MM_g10"
["related_video_title"]=>
string(40) "Amazon Web Services [AWS] - Introduction"
["posted_time"]=>
string(21) "4 года назад"
["channelName"]=>
string(28) "Maddy’s World (Tech Bytes)"
}
[1]=>
object(stdClass)#5013 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "VOK06Q4QqvE"
["related_video_title"]=>
string(84) "What is Docker Volume | How to create Volumes | What is Bind Mount | Docker Storage"
["posted_time"]=>
string(19) "6 лет назад"
["channelName"]=>
string(23) "Automation Step by Step"
}
[2]=>
object(stdClass)#5038 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "EV47Oxwet6Y"
["related_video_title"]=>
string(26) "The Kubernetes Course 2025"
["posted_time"]=>
string(19) "2 дня назад"
["channelName"]=>
string(12) "Kubesimplify"
}
[3]=>
object(stdClass)#5045 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "kf3UjITS91M"
["related_video_title"]=>
string(82) "Day 33/40 - Kubernetes Ingress Tutorial | Ingress Explained by @AbhishekVeeramalla"
["posted_time"]=>
string(28) "10 месяцев назад"
["channelName"]=>
string(26) "Tech Tutorials with Piyush"
}
[4]=>
object(stdClass)#5024 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "iyrnPNBWIQ4"
["related_video_title"]=>
string(161) "«Жить надо сегодня». Олег Тиньков и Майкл Калви о взлете нового финтех-стартапа Plata"
["posted_time"]=>
string(21) "4 часа назад"
["channelName"]=>
string(28) "Это Осетинская!"
}
[5]=>
object(stdClass)#5042 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "DQGleX6Cwaw"
["related_video_title"]=>
string(62) "Максимальное унижение Зеленского"
["posted_time"]=>
string(24) "17 часов назад"
["channelName"]=>
string(27) "Анатолий Шарий"
}
[6]=>
object(stdClass)#5037 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "IgLGiJ00a1I"
["related_video_title"]=>
string(151) "Проброс портов, брутфорс wordpress и jenkins! Прохожу машину Internal на TryHackMe, уровень тяжелый!"
["posted_time"]=>
string(25) "3 месяца назад"
["channelName"]=>
string(14) "Mister Exploit"
}
[7]=>
object(stdClass)#5047 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "v6TqgxhUa1M"
["related_video_title"]=>
string(174) "АСЛАНЯН: Обойдетесь без телефонов. «Новые» российские автомобили. Худшая реклама / МАШИНЫ"
["posted_time"]=>
string(21) "4 часа назад"
["channelName"]=>
string(29) "Ходорковский LIVE"
}
[8]=>
object(stdClass)#5023 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "2aoOEnZmCmQ"
["related_video_title"]=>
string(78) "Nginx — Простым языком на понятном примере"
["posted_time"]=>
string(25) "3 месяца назад"
["channelName"]=>
string(25) "Артём Шумейко"
}
[9]=>
object(stdClass)#5041 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "IcLWETIf3J4"
["related_video_title"]=>
string(116) "Жириновский о евреях! Что будет, когда Израиль проиграет? 2004 год"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(13) "ЛДПР-ТВ"
}
}