How to run a basic PostGreSQL in Kubernetes!

  Рет қаралды 13,214

That DevOps Guy

That DevOps Guy

7 ай бұрын

Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
Checkout the source code below 👇🏽 and follow along 🤓
Also if you want to support the channel further, become a member 😎
marceldempers.dev/join
Checkout "That DevOps Community" too
marceldempers.dev/community
Source Code 🧐
--------------------------------------------------------------
github.com/marcel-dempers/doc...
If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
Kubernetes Guide for Beginners:
---------------------------------------------------
• Kubernetes development...
Kubernetes Monitoring Guide:
-----------------------------------------------
• Kubernetes Monitoring ...
Kubernetes Secret Management Guide:
--------------------------------------------------------------
• Kubernetes Secret Mana...
Like and Subscribe for more :)
Follow me on socials!
marceldempers.dev
Twitter | / marceldempers
GitHub | github.com/marcel-dempers
Facebook | thatdevopsguy
LinkedIn | / marceldempers
Instagram | / thatdevopsguy
Music:
Track: Reckoner - lofi hip hop chill beats for study~game~sleep | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / reckoner-lofi-hip-hop-...
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / parallel

Пікірлер: 33
@MarcelDempers
@MarcelDempers 7 ай бұрын
The PostgreSQL Series -> kzbin.info/aero/PLHq1uqvAteVsnMSMVp-Tcb0MSBVKQ7GLg
@haraldhacker
@haraldhacker 7 ай бұрын
Please continue this. Also focus for production grade setups
@la151212511111
@la151212511111 7 ай бұрын
Hey Marcel, Thanks :) just thanks. I didn't go that route, but your series on k8s has been instrumental in my career direction ! now wih kuber abilities !! TY sir !
@mroshan74
@mroshan74 7 ай бұрын
Hi Marcel, good to see you back. Always loved your delivery ❤
@intsanerarity9689
@intsanerarity9689 2 ай бұрын
you are a legend, will there be the last part of this video series?
@tmortada
@tmortada Ай бұрын
Thanks Marcel, great content!
@azrafal
@azrafal 7 ай бұрын
Sir please make some videos on Cassandra. Learned a lot from your videos. Thank you very much.
@tiagomedeiros7935
@tiagomedeiros7935 7 ай бұрын
Thank you. I would like to suggest a future video about karpenter
@Fullflexno
@Fullflexno 2 ай бұрын
Hey, big guy, Marcel! Thanks for providing so much quality content, pleas hurry up and give us more 🥺❤
@pigrebanto
@pigrebanto 7 ай бұрын
thanks and well done! Is the next video yet to come?
@lior3300
@lior3300 3 ай бұрын
love your videos, you are a true professional and a grate tutor. waiting for your next video on the topic.
@Fullflexno
@Fullflexno 2 ай бұрын
100% Agreed. Super videos! Waiging for more!
@ValleJulien
@ValleJulien 2 ай бұрын
Thank you for this interesting and insightful series of videos on setting up a PostgreSQL cluster. When can we expect the next video? I need the following ! I'm currently in the process of deploying my own PostgreSQL cluster on AKS. It would be great and helpful to have and see a demonstration of how to configure replication on Kubernetes and automate the primary promotion to the replica in case of failover (along with guidance on configuring for production environments). Excellent work :) I'm looking forward to the next video, which I hope will arrive very soon.
@bainscho3267
@bainscho3267 2 ай бұрын
These videos are incredible
@tayyabfayyaz8837
@tayyabfayyaz8837 2 ай бұрын
Great explanation sir, it would be helpful if your similar tutorial PG bouncer with a same of different namespace.
@idouxda
@idouxda 7 ай бұрын
Do you have a Flyway Series?
@dillonhansen71
@dillonhansen71 7 ай бұрын
I love that you keep saying "You will lose data". People need to hear that.
@sixwins-devops
@sixwins-devops 7 ай бұрын
You just gotta love the swords.
@RockyScenes
@RockyScenes Ай бұрын
Thank you for this. If you have a replica of a pod, and the main one dies, then the replica dies, are you out of luck and the data is lost? Or are replicas constantly created?
@splashinventor
@splashinventor 2 ай бұрын
Hello Marcel, I am one of the subscribers to your channel. Your videos are quite informative and very helpful in understanding the technology. -:) I have couple of doubts related to tools that are used. Could you please help clarify these doubts please? In REAL WORLD projects, tools such as Jenkins, ELK stack, Databases, RabbitMQ/ActiveMQ, Kafka etc. are generally provisioned on EC2s (or) Vendor provided/managed cloud environments (SaaS) (or) Cloud Provider(AWS/Azure etc.) specific provided/managed environments but not on Kubernetes/EKS? And, Only microservices are deployed on K8s clusters and they connect to these tools via K8s environment configurations? It is very confusing and struggling to understand as most of the tutorials/examples in Internet are showcasing above mentioned tools to provision on K8s along with microservices. Kindly help clarifying the doubt! Thank you.. :-)
@JuanNicolas
@JuanNicolas 5 ай бұрын
hey Marcel, thanks for these videos, they helped me a lot. Is there any update on the replication 2nd part of this? I Tried to figure out how to create the secondary pods as replication server but, I'm still stuck on the configmap and if I need to use a second statefulset yaml file for that to provide new configmap configurations.
@Babbili
@Babbili 2 ай бұрын
if i have 3 replicas StatfulSet, is the data automatically replicated into the 3 pods' volumes if i created the data through a client pod connecting to the headless postgres svc
@suhasadduri1691
@suhasadduri1691 7 ай бұрын
you are a gem 💎
@rachanadesai5996
@rachanadesai5996 6 ай бұрын
Hi Marcel! why do i get this error "CreateContainerConfigError" instead of "Running" status when I run "kubectl -n postgresql get pods" command
@MrGenbu
@MrGenbu 3 ай бұрын
When is the next videos coming out ?
@MrGenbu
@MrGenbu 7 ай бұрын
can you please make one for mongodb replicaset its very frustrating
@IIGrudge
@IIGrudge 7 ай бұрын
You most likely won't be doing this in the real world as handling stateful workload robustly is quite a challenge on K8s. Better to use an operator like Zalando to handle things like HA, backups, upgrades.
@MarcelDempers
@MarcelDempers 7 ай бұрын
It's all a double edged sword but the fundamental knowledge is crucial : 1) Most teams don't know enough about PostgreSQL (including myself) 2) Many also don't understand the nature of statefulsets in immutable hosted Kubernetes where nodes can be recreated by cloud providers. (nodes can come and go) 3) Operators often trap new folks since the abstraction is too deep for folks to unfold and since they dont understand PostgreSQL replication. If the operator fails, the engineers are scratching their heads. Therefore it's crucial to understand the boundaries and the underlying configs and how they work before commiting to something like an Operator that automates it all. Operators are something we can cover in later parts of the series when a foundation of knowledge is met With all this information I would often resort to recommending a PostgreSQL-as-a-Service with your cloud provider instead. It's fairly cheap and takes the engineering burden away from the teams. Hope that helps folks who are evaluating databases on K8s
@zhbitjean
@zhbitjean 3 ай бұрын
how to install kind?
@zhbitjean
@zhbitjean 3 ай бұрын
I feel like all these commands are running on my local machine, how do I push it to google Kubernetes? Anyone has similar issue?
@lior3300
@lior3300 3 ай бұрын
when you want to run kubectl commands on your GCP cluster you have to "bind" to it using your cloud shell. go to the cluster page and click on the 3 dots of the cluster you want to run these commands on, then you will see a window that gives you the gcloud command to access the cluster. you can run it in the shell or on your machine.
@KhodeCamp
@KhodeCamp 7 ай бұрын
Thank you so much and can't wait for next video!
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 46 М.
How to configure PostgreSQL | Learning | DevOps
24:00
That DevOps Guy
Рет қаралды 6 М.
КАХА и Джин 2
00:36
К-Media
Рет қаралды 4,1 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 57 МЛН
He tried to save his parking spot, instant karma
00:28
Zach King
Рет қаралды 11 МЛН
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 218 М.
Should We Run Databases In Kubernetes? CloudNativePG (CNPG) PostgreSQL
19:10
Deploy a production Database in Kubernetes
8:56
Raghav Dua
Рет қаралды 5 М.
How to replicate PostgreSQL with Docker for beginners
21:35
That DevOps Guy
Рет қаралды 10 М.
Кабарухин Алексей - PostgreSQL кластер внутри Kubernetes
48:12
Райффайзен Банк
Рет қаралды 2,5 М.
How to use  NGINX Ingress with Kubernetes in 2023
38:32
That DevOps Guy
Рет қаралды 64 М.
Mission-Critical PostgreSQL Databases on Kubernetes - Karen Jex, Crunchy Data
27:58
CNCF [Cloud Native Computing Foundation]
Рет қаралды 2,8 М.
Kubernetes NodePort vs LoadBalancer vs Ingress
6:27
Anton Putra
Рет қаралды 54 М.
Data On Kubernetes, Deploying And Running PostgreSQL And... - Chris Milsted & Gabriele Bartolini
37:26
CNCF [Cloud Native Computing Foundation]
Рет қаралды 3,7 М.
Understanding KUBECTL - Learning Kubernetes
40:34
That DevOps Guy
Рет қаралды 10 М.
What model of phone do you have?
0:16
Hassyl Joon
Рет қаралды 67 М.
МОЖНО ЛИ заряжать AirPods в чехле 🧐😱🧐 #airpods #applewatch #dyson
0:22
Apple_calls РЕПЛИКА №1 В РФ
Рет қаралды 22 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43