The YAML file explained | YAML Tutorial

preview_player
Показать описание
Want to know how to read the YAML file? In this YAML Tutorial, I go over how to read a YAML file. I use real-world examples of YAML files used in Docker, Kubernetes, and Ansible and also provide a Python Script to read the YAML files.

📘 Chapters:
0:00 Introduction to YAML
0:39 YAML File Explained
1:42 YAML file Readers
2:00 YAML Lists and Dictionaries
4:40 Python Script to read YAML files
5:38 Example YAML files, Ansible Docker and Kubernetes
Рекомендации по теме
Комментарии
Автор

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.

DevOpsJourney
Автор

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

jvsnyc
Автор

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.

lehnertz
Автор

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

polliluiz
Автор

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

lucasaraujo.
Автор

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?

rashmigmash
Автор

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

ates
Автор

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?

curiousape
Автор

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'

navneethparthasarathy
Автор

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

mehrandehghan
Автор

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

Jakebreze
Автор

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.

arunareddy
Автор

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

anfalmohamed
Автор

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

JainmiahSk
Автор

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

aminghanooni
Автор

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

rakeshkanna
Автор

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?

briangeraghty
Автор

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

gabrielfono
Автор

Thomas Helen Hernandez Kevin Johnson Brenda

MildredRubio-sg
Автор

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

Duce