Understanding Logging: Containers & Microservices

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • 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....
    Checkout "That DevOps Community" too
    marceldempers....
    Source Code 🧐
    --------------------------------------------------------------
    github.com/mar...
    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/mar...
    Facebook | thatdevop...
    LinkedIn | / marceldempers
    Instagram | / thatdevopsguy
    Music:
    Track: J3bii - Existance | is licensed under a Creative Commons Attribution licence (creativecommon...)
    Listen: / existance-prod-j3bi
    Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommon...)
    Listen: / parallel

Комментарии • 45

  • @BrianThomas
    @BrianThomas 2 года назад +5

    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.

  • @RonnyBadilla
    @RonnyBadilla 3 года назад +6

    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!

  • @Being_Joe
    @Being_Joe 3 года назад +4

    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 года назад +1

      👀👉🏽👉🏽 watchin you! 😎

  • @ashwaniahuja
    @ashwaniahuja 3 года назад

    You are rock in docker and kubernetes , I have not seen any other better tutorials like this

  • @BiohaZd5
    @BiohaZd5 3 года назад +23

    All those fast moving backgrounds hurt my eyes.

    • @MarcelDempers
      @MarcelDempers  3 года назад +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.

  • @carlomagnogonzalezvillalob3255
    @carlomagnogonzalezvillalob3255 2 года назад

    Increíble toda la información que compartes, muchas gracias por enseñar tus conocimientos. Saludos desde Costa Rica

  • @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!

  • @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.

  • @motizukilucas
    @motizukilucas Год назад

    Thank you! As always great quality video

  • @Jakub-yu2vy
    @Jakub-yu2vy 3 года назад

    Great video ! I really like the way you present. I am looking forward to watching next part

  • @abeard1
    @abeard1 3 года назад

    Love your channel, greetings from Warsaw :)

  • @jafarsadique2746
    @jafarsadique2746 Год назад

    Please make a detail video on collect containers using fluent-bit and redirect to azure log analytics

  • @asifsadiq1693
    @asifsadiq1693 3 года назад

    Your video are very informative, keep posting

  • @yovangrbovic7692
    @yovangrbovic7692 3 года назад

    Thanks Marcel!

  • @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 🤷‍♂

  • @sujeetkumar.
    @sujeetkumar. 2 года назад

    Awesome 👍

  • @trollerninja4356
    @trollerninja4356 3 года назад +1

    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?

  • @oraculotube
    @oraculotube 3 года назад +1

    Only top videos 👌

  • @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

  • @El18Cucuy
    @El18Cucuy 3 года назад

    you can send log remotely using json driver or fluentd,etc drivers.

  • @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

  • @TheMrJoshua
    @TheMrJoshua 3 года назад

    very helpful like always

  • @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

  • @cvechcd
    @cvechcd 22 дня назад

    didn’t work meta on cri-o/containerd

  • @rayudu1180
    @rayudu1180 3 года назад

    Hi Bro, can you please make a video on EFK stack on minikube kubernetes 🙏

  • @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?

  • @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

  • @8982121541
    @8982121541 3 года назад

    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

  • @pedro-br1mo
    @pedro-br1mo 2 года назад

    Any chance you follow up with this + with data coming from rabbitmq? (RELK)

  • @sirishabala7423
    @sirishabala7423 3 года назад

    do you have any series with data dog?

  • @L84netlol
    @L84netlol 3 года назад

    Good job! But the logging directory not yet on github,plz.

  • @phuongnguyentrong3084
    @phuongnguyentrong3084 3 года назад

    Awesome

  • @ukaszdya223
    @ukaszdya223 3 года назад

    could you make a movie about network security in kubernetes e.g. Calico

  • @jonathanhurd1565
    @jonathanhurd1565 3 года назад

    Very interesting/useful. Do you have any experience/thoughts on Loki versus fluentd?

    • @MarcelDempers
      @MarcelDempers  3 года назад +1

      I've not worked with Loki before, but I'm super keen to cover it in this series 💪🏽

  • @catsgotmytongue
    @catsgotmytongue 3 года назад +1

    The movement and colors hurt...

  • @_kovshenin
    @_kovshenin 3 года назад

    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)