<p>YAML is a very simple, text/human-readable annotation format that can be used to store data.
YAML keeps data stored as a map containing keys and values associated to those keys. This map is in no particular order, so you can reorder it at will. Each pair is in the format KEY: VALUE
When the value is a text string enclose the value with quotes. Some examples below:</p>

<pre><code>KEY1: 'HELLO'
HOST_NUMBER: 1
</code></pre>

CC BY-SA 4.0
2018-12-19T04:58:21.227Z
2018-12-19T04:58:21.227Z
Sunil
<p>I am not sure what mapping in YAMl file means, can someone advise what does mapping in YAML
 file means?</p>

CC BY-SA 4.0
2018-12-31T07:05:23.283Z
It would really help if you could give an example to clarify the question. Can you point to a file with mapping and the relevant documentation that you read?
Bruce Becker
<kubernetes>
What does mapping in yml file means?
THEGreatGatsby
# What does mapping in yml file means?

(Asked by: username_0 on 2018-12-19)

I am not sure what mapping in YAMl file means, can someone advise what does mapping in YAML
file means?

**Tags:** kubernetes

> **Comments:**
> **username_1**: It would really help if you could give an example to clarify the question. Can you point to a file with mapping and the relevant documentation that you read?  

---

## 1 answers

### Answer by username_2 on 2018-12-19. Score: 1 | Accepted answer

YAML is a very simple, text/human-readable annotation format that can be used to store data.
YAML keeps data stored as a map containing keys and values associated to those keys. This map is in no particular order, so you can reorder it at will. Each pair is in the format KEY: VALUE
When the value is a text string enclose the value with quotes. Some examples below:
KEY1: 'HELLO'
HOST_NUMBER: 1


---

