3 ms·
Kubernetes supports JSON but overwhelmingly leans towards YAML. I've had to spend some time really grokking it to do basic dev ops, and now have my IDE pretty d
by reilly3000 7y ago
Kubernetes supports JSON but overwhelmingly leans towards YAML. I've had to spend some time really grokking it to do basic dev ops, and now have my IDE pretty dialed to support it. That said, its not my favorite by a long shot. Can Jsonette save us?
- PaulHoule 7y agoJSON is valid YAML.
- chupasaurus 7y agoKubernetes API accepts only JSON with a single exception of Server-Side Apply which is an alpha feature.
- reilly3000 7y agoI should clarify that kubectl converts YAML to JSON, so most examples I see are in YAML in a repo, then applied by a CI system via kubectl where it is transformed into JSON.