Is tabs allowed for indentation in the yaml?

A YAML file cannot contain tabs as indentation - Stack Overflow

In the above stackoverflow discussion, it stated that tabs are not allowed. But I did not face any issue when I used tabs in the kubernetes manifest .

Hi @dnpuneeth3,

There is no problem if you use tab for the indent in the YAML file, we used it all the time, depending on the preference, we can set tabstop=2 or 4 for a better experience.

Thanks,
Trung.