-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Argo CD in Practice
By :

There is a lot of YAML in the Kubernetes world, and we have seen how we can use templating options around it in order to improve it. We usually start with small manifests, and then we keep adding resources to our Helm chart and then more environment variables, an init
container, sidecars, and so on. In the end, we will have a big Helm chart or Kustomize manifests that we will apply to the cluster.
So, it would be a good idea to validate them before applying them, in order to catch as many issues as possible before they turn into bigger issues in our clusters that can only be fixed with manual intervention.
We can start with the simplest linting of all, and that’s of YAML files’ structure, without looking at the syntax—so, making abstraction that it contains Kubernetes manifests. A good tool to verify that your YAML content doesn’t have any cosmetic issues—such as too big lines or trailing spaces, or the more problematic...