Understanding Logging: Containers & Microservices

  Рет қаралды 36,525

That DevOps Guy

That DevOps Guy

3 жыл бұрын

Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
Today we're taking a look at the concept of Logging in microservice container environments.
I go over two concepts, standardised and centralised logging.
How to keep your codebase simple by logging to stdout.
How to gather all the logs from a distributed system and bring it to a central place with FluentD.
This is a conceptual video demonstrating the concepts we'll need in this series.
In a future video, we'll dive into FluentD, the ELK + EFK stack and deploying all this stuff on Kubernetes.
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: J3bii - Existance | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / existance-prod-j3bi
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / parallel

Пікірлер: 44
@RonnyBadilla
@RonnyBadilla 3 жыл бұрын
Just discovered your channel and I’m impressed, I have seen just two videos and both helped me to have a better understanding. Keep it up, you got a new subscriber!
@BrianThomas
@BrianThomas 2 жыл бұрын
This is the 3rd time that I've found your channel when looking for something IT/tech related. I love your content. Thank you very much @That DevOps Guy for taking the time and putting this stuff together. You've made a subscriber out of me. I know this video is a bit but IMO you're doing a great job my friend and keep up the great work.
@Jakub-yu2vy
@Jakub-yu2vy 3 жыл бұрын
Great video ! I really like the way you present. I am looking forward to watching next part
@ashwaniahuja
@ashwaniahuja 3 жыл бұрын
You are rock in docker and kubernetes , I have not seen any other better tutorials like this
@Being_Joe
@Being_Joe 3 жыл бұрын
It is like you have been reading my "things to figure out" list and making videos off of them. Looking forward to the rest of this series.
@MarcelDempers
@MarcelDempers 3 жыл бұрын
👀👉🏽👉🏽 watchin you! 😎
@RezwanRahman
@RezwanRahman 3 жыл бұрын
cannot wait for the next video ....pls up as soon as possible ,,its very well explained .
@ruchk3872
@ruchk3872 3 жыл бұрын
Very useful and simple way to explain...thank you!
@carlomagnogonzalezvillalob3255
@carlomagnogonzalezvillalob3255 2 жыл бұрын
Increíble toda la información que compartes, muchas gracias por enseñar tus conocimientos. Saludos desde Costa Rica
@abeard1
@abeard1 3 жыл бұрын
Love your channel, greetings from Warsaw :)
@motizukilucas
@motizukilucas Жыл бұрын
Thank you! As always great quality video
@asifsadiq1693
@asifsadiq1693 3 жыл бұрын
Your video are very informative, keep posting
@imanhpr
@imanhpr Жыл бұрын
thank you very much this video helped me a lot.
@amitpadgaonkar8830
@amitpadgaonkar8830 2 жыл бұрын
I love your channel. It is truly underrated in terms of number of subscribers. One quick question. Can you please the system that you are using? the processor, memory, desktop brand etc. I want to buy the same system for me.
@TheMrJoshua
@TheMrJoshua 3 жыл бұрын
very helpful like always
@nicacton
@nicacton 2 жыл бұрын
Lifesaver! Definitely subscribing
@nicacton
@nicacton 2 жыл бұрын
One nit-pick: when the icons AND the background are moving like 1:50 it can be a little harder to follow. But then again, maybe it forces me to expend more mental energy and focus more 🤷‍♂
@yovangrbovic7692
@yovangrbovic7692 3 жыл бұрын
Thanks Marcel!
@BiohaZd5
@BiohaZd5 3 жыл бұрын
All those fast moving backgrounds hurt my eyes.
@MarcelDempers
@MarcelDempers 3 жыл бұрын
I was wondering about this, thanks for the feedback, will wind this back in future 💪🏽
@amlife180
@amlife180 3 жыл бұрын
I like the graphics, helps a lot of explaining complex topics. Great content! Keep up the good work!
@khoavo5758
@khoavo5758 3 жыл бұрын
@@amlife180 1:22 That background does anything but help explaining the topic.
@sujeetkumar.
@sujeetkumar. 2 жыл бұрын
Awesome 👍
@oraculotube
@oraculotube 3 жыл бұрын
Only top videos 👌
@dufferzzzzz
@dufferzzzzz 3 жыл бұрын
Arch btw! Great video as always. I am wondering if you would be able to do a video on SocketIO/WS generally on k8s, I initially ran into some roadblocks with Nginx ingress, Redis, and setting affinity correctly. Fixed it now - but others may be curious. Everything 'seemed' to work fine on one instance, but as soon as another ws server instance was running; k8s' affinity would default to selecting another instance on next connection resulting in 400 errors with Unknown Session ID
@El18Cucuy
@El18Cucuy 3 жыл бұрын
you can send log remotely using json driver or fluentd,etc drivers.
@muthukumarramu3149
@muthukumarramu3149 3 жыл бұрын
Thanks for your video, I need to gather all container logs... in that case.. what are the parameter needs to be added in the production compose files. please help me
@phuongnguyentrong3084
@phuongnguyentrong3084 3 жыл бұрын
Awesome
@jafarsadique2746
@jafarsadique2746 Жыл бұрын
Please make a detail video on collect containers using fluent-bit and redirect to azure log analytics
@9691886126
@9691886126 3 жыл бұрын
It nice..can you cover a video on sending fluentd logs to cloudwatch ? So developer can watch app logs from there to see if pod crashed for any reason
@hardikpanchal9726
@hardikpanchal9726 3 жыл бұрын
Hi sir, I am using Rancher to maintain my all applications in cluster & their logs are stored into container path var/logs/app1.log using log4j file appender. So is it possible to download that logs from container to my local system?
@trollerninja4356
@trollerninja4356 3 жыл бұрын
hey can you help me out? I have included fluentd in the list of services in the docker-compose file for my node app...it has 3 containers - mongodb,nginx and node app containers...the 4th one being fluentd container..,I see the logs/fluentd directory created but no logs are written to it...m using a windows host machine...I would like to mention that I had excluded the root prop in the compose file for fluentd service...could that be a reason for this issue?
@xDeadlyWarriorX
@xDeadlyWarriorX 2 жыл бұрын
Please, how can i enable Log Rotation? There is a JSON LOG that has 10G already but i know i can not clear it since it can generate some erros with the JSON structure
@pedro-br1mo
@pedro-br1mo 2 жыл бұрын
Any chance you follow up with this + with data coming from rabbitmq? (RELK)
@rayudu1180
@rayudu1180 3 жыл бұрын
Hi Bro, can you please make a video on EFK stack on minikube kubernetes 🙏
@L84netlol
@L84netlol 3 жыл бұрын
Good job! But the logging directory not yet on github,plz.
@8982121541
@8982121541 2 жыл бұрын
Hi there there is one situation i am stuck at inside my electron container there is one reporting service who continuously generates log which inside /var/lib/docker/volumes/electron/electronlogs.log here i want to use this command log-opt max-size=10mb max-file=10 how i can write it in a script
@sirishabala7423
@sirishabala7423 3 жыл бұрын
do you have any series with data dog?
@jonathanhurd1565
@jonathanhurd1565 3 жыл бұрын
Very interesting/useful. Do you have any experience/thoughts on Loki versus fluentd?
@MarcelDempers
@MarcelDempers 3 жыл бұрын
I've not worked with Loki before, but I'm super keen to cover it in this series 💪🏽
@ukaszdya223
@ukaszdya223 3 жыл бұрын
could you make a movie about network security in kubernetes e.g. Calico
@catsgotmytongue
@catsgotmytongue 3 жыл бұрын
The movement and colors hurt...
@_kovshenin
@_kovshenin 2 жыл бұрын
Great video, but man, the blinking, the moving, so hard to concentrate and watch, can probably cause a seizure even without history of epilepsy :(
@HieuMinh-ss3ut
@HieuMinh-ss3ut 2 жыл бұрын
great video. Thanks! but i have problem with time fortmat, could you help me . I have prolem with time zone log fluend! when i run any service and fluentd service. fulend was able to get the service's log but the log time is incorrect time displayed on log is path + time + ".log" (testlog.19700101_0.log)
Introduction to Fluentd: Collect logs and send almost anywhere
21:06
That DevOps Guy
Рет қаралды 73 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 47 М.
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 87 МЛН
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 884 М.
Service Mesh: What & Why ? - a new series
13:38
That DevOps Guy
Рет қаралды 36 М.
Fluentbit |- Fluentd |- Elasticsearch |- Kibana. Система сбора и визуализации логов
37:06
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 75 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 257 М.
How To Secure & Harden Docker Containers
40:29
HackerSploit
Рет қаралды 21 М.
Why I use Windows as a DevOps Engineer
21:07
That DevOps Guy
Рет қаралды 17 М.
What is Docker Compose? Multiple Containers & Docker Networking
14:18
How Fluentd simplifies collecting and consuming logs | Fluentd simply explained
10:51
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,2 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 138 М.
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 10 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 1,5 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 7 МЛН