The YAML file explained | YAML Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 53

  • @DevOpsJourney
    @DevOpsJourney  4 ปีที่แล้ว +10

    YAML is one of those files your going to be running into a lot in your IT Career! Smash that like button if this video helped you.

  • @polliluiz
    @polliluiz ปีที่แล้ว +1

    Your explanation is the best from all YT man. Congrats!

  • @jvsnyc
    @jvsnyc ปีที่แล้ว +4

    Great tutorial. At about 3:58 in the video, there is a loud pop or crack which scared the heck out of me.

    • @d_oddy
      @d_oddy 29 วันที่ผ่านมา

      😂😂😂

  • @lucasaraujo6.
    @lucasaraujo6. 3 ปีที่แล้ว +1

    Man, I've loved your tranquility. You've got a new follower. Thanks!

  • @lehnertz85
    @lehnertz85 3 ปีที่แล้ว +1

    I've become a fan of TOML over the past few months. I used it for the settings of my scripts. I think it's the best for readability amongst the other file types, JSON and YAML. Maybe I'm just old and use to the ini days with Windows. Your video helped me understand YAML, though.

    • @DevOpsJourney
      @DevOpsJourney  3 ปีที่แล้ว

      Very cool, didn't know about TOML until you mentioned it. It looks really good if you were to homebake an application that needs a quick and easy to read configuration file. I will keep it in mind for future projects!

  • @Jakebreze
    @Jakebreze 5 หลายเดือนก่อน

    (yaml: line 71: found unexpected end of stream) can u solve this issue????

  • @briangeraghty6455
    @briangeraghty6455 3 ปีที่แล้ว

    I'm getting an error in the python script "Import "yaml" could not be resolved from source Pylance report (MissingModuleSource)"
    and
    Import "rich.console" could not be resolved Pylance (reportMissingImports)
    I believe it's stopping me from running the script as It is saying there is no such file in the directory.
    Any idea what's giving the errors? Could it be my plugins?

  • @Usineko_Alu
    @Usineko_Alu 2 ปีที่แล้ว +1

    Great explanation love it.

  • @anfalmohamed7005
    @anfalmohamed7005 2 ปีที่แล้ว

    Could you please share one example codefresh yaml file to upload multiple files to artifactory

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 3 ปีที่แล้ว +1

    Concise and really clear.

  • @ates9
    @ates9 4 ปีที่แล้ว +1

    Can you make a video about your suggestion channels, please? Like your channel, it is amazing but you deserve more subs.

  • @maikehansen8691
    @maikehansen8691 2 หลายเดือนก่อน

    .yaml, when you need a 10-mins video to explain how a config file works.
    I miss the feature to search in text files for usages of my.property.defined.in.yaml.

  • @ates9
    @ates9 4 ปีที่แล้ว +1

    Great video!

  • @lifesamazinginindia
    @lifesamazinginindia 3 ปีที่แล้ว +1

    Very nice video !!!

  • @rakeshkanna2718
    @rakeshkanna2718 3 ปีที่แล้ว

    hi, can you help me to find the difference between two YAML files and display the difference in HTML format ?

  • @JainmiahSk
    @JainmiahSk 3 ปีที่แล้ว +1

    We use YAML for Config files or for Data preprocessing and Machine Learning also?

    • @DevOpsJourney
      @DevOpsJourney  3 ปีที่แล้ว +1

      Thank you for the question. It can be both. YAML is used in a lot of different tools and products. I use it mostly in Docker and Kubernetes and for some config files when I develop my own apps.

  • @arunareddy3491
    @arunareddy3491 2 ปีที่แล้ว

    Can you please make vedio for how to validate yaml files and what are the different tools we can use to validate yml files.Recently i got a requirement in my project like we need to validate yml files and that logic should merge with buildpipeline and if we have any invalid syntax my build pipeline should fail before we merge code to master branch. I searched many examples in net but most of them i found in python scripts since i am not familiar with python script i am looking examples in Java.

  • @rashmigmash
    @rashmigmash 3 ปีที่แล้ว +1

    Really nice and simple explanation. Can you please make some video on what kid of rights user need to run Dev Ops powershell script on remote server , to create the environment?

  • @thepresistence5935
    @thepresistence5935 2 ปีที่แล้ว

    wonderful oneeee

  • @aminghanooni4240
    @aminghanooni4240 3 ปีที่แล้ว +1

    May you explain this part which you ran in Terminal: "Python .
    ead_yaml.py myfile.yml"? I do not get how this part works ----> .
    ead_yaml.py myfile.yml. Does it run two files simulatneously? Thanks if you can elaborate on this!

    • @DevOpsJourney
      @DevOpsJourney  3 ปีที่แล้ว +1

      read_yaml.py is the python script, "myfile.yml" is the argument. The python script takes in the argument, in this case the filename, so it know what filename to read.
      I hope that explanation helps.

  • @curiousape001
    @curiousape001 2 ปีที่แล้ว +1

    Thanks for explanation video. I think it would good if you clarified is it a line break that is signalling end of value? Also, are the indentations required or just being used to improve readibility? If they are required are they spaces or tabs?

  • @navneethparthasarathy8395
    @navneethparthasarathy8395 3 ปีที่แล้ว +1

    Thanks for the video, this is really helpful. I am just starting to learn yaml. In the docker-compose.yml file line number 5 and 6 why should ports value should be represented in such a manner where the same port number is repeated with a colon in between and surrounded by quotes - '8086:8086'

    • @DevOpsJourney
      @DevOpsJourney  3 ปีที่แล้ว +1

      this is a docker-compose file, which is for container configuration. The 8086:8086 maps port 8086 to port 8086 on the container. This could be beneficial if you have multiple containers listening on the same port, you could map them like 8081:8086, 8082:8086 etc.

    • @navneethparthasarathy8395
      @navneethparthasarathy8395 3 ปีที่แล้ว

      @@DevOpsJourney thanks for clarifying. Cheers.

  • @waqaraslam9538
    @waqaraslam9538 10 หลายเดือนก่อน

    nice explanation.

  • @gabrielfono844
    @gabrielfono844 2 ปีที่แล้ว

    I still don’t understand what pb yml solved when we could still use json to resolve the issue
    Basically,
    Please could you make a video about why yml is important over other file type like json for instance
    Thanks

    • @DevOpsJourney
      @DevOpsJourney  2 ปีที่แล้ว

      Most people find YML simpler to read, so a lot of tools adopted it. A lot of these tools accept both, but YML is becoming the more dominant default format. Realistically you should be comfortable with both.

    • @gabrielfono844
      @gabrielfono844 2 ปีที่แล้ว

      @@DevOpsJourney got you
      Thanks

  • @mehrandehghan884
    @mehrandehghan884 ปีที่แล้ว

    Thank you, but I think it was not enough. it would be more better if you could explain which lines are dedicated for dictionaries or for example why they have used lists for ports and ...

  • @sabrismd3821
    @sabrismd3821 ปีที่แล้ว

    thank YoU buddy

  • @artihlec
    @artihlec 3 ปีที่แล้ว +1

    thankYou

  • @33Duce
    @33Duce 2 ปีที่แล้ว

    Ok, so what problem does YAML solve? Why does YAML exist?

    • @DevOpsJourney
      @DevOpsJourney  2 ปีที่แล้ว

      It's becoming the standardized format for configuration files. In the past configuration files didn't really have a standard.. and different applications had different nuances with how the configuration should be set. YAML fixes that with it's standardized format. It's also very human readable.
      Hope that helps!

  • @JackMaxwell-y6t
    @JackMaxwell-y6t 3 หลายเดือนก่อน

    Garcia Charles Rodriguez Sandra Rodriguez Jennifer

  • @HuttVita-w2o
    @HuttVita-w2o 3 หลายเดือนก่อน

    Gonzalez Eric Jackson John Gonzalez Robert

  • @MorseDempsey-s4k
    @MorseDempsey-s4k 2 หลายเดือนก่อน

    Lee Donna Anderson Eric Lewis Donald

  • @PhilipKline-p7n
    @PhilipKline-p7n 3 หลายเดือนก่อน

    Brown Daniel Walker Anthony Brown Robert

  • @dondedestephen4857
    @dondedestephen4857 3 หลายเดือนก่อน

    Johnson Ronald Young Charles Lewis Mark

  • @LisaRamos-y4s
    @LisaRamos-y4s 4 หลายเดือนก่อน

    Wilson Mark Harris Nancy Moore Matthew

  • @benjaminkeatase9972
    @benjaminkeatase9972 3 หลายเดือนก่อน

    White Carol Garcia Susan Hall Jason

  • @JosiePhillips-w3s
    @JosiePhillips-w3s 4 หลายเดือนก่อน

    Allen Barbara Young Angela Hall Donna

  • @WattHowar-e9i
    @WattHowar-e9i 3 หลายเดือนก่อน

    Brown John Thompson Michelle Brown Daniel

  • @bluebon5228
    @bluebon5228 ปีที่แล้ว

    3:57 f my ear dude

    • @DevOpsJourney
      @DevOpsJourney  ปีที่แล้ว

      I'm so sorry :( :(
      This video was created when I had a ghetto mic and I didn't catch it in the editing process.

    • @bluebon5228
      @bluebon5228 ปีที่แล้ว

      @@DevOpsJourney sorry to exaggerate it, not a big problem, was just letting you know,

  • @DefoeBrian-x9m
    @DefoeBrian-x9m 3 หลายเดือนก่อน

    Clark Jason Martin Angela Miller Karen