Note: I am writing this from the perspective of a person learning k8s to hopefully make this document more useful to others in my position. I am quite grateful that this document existed in the first place, as it gave me a starting point. I wish to correct some of the omissions that caused me frustration.
The helm chart instructions described at https://stalw.art/docs/cluster/orchestration/kubernetes are missing a few steps.
- Various
{{- include ... }} statements imply a _helpers.tpl file which is not provided in the tutorial. A sample _helpers.tpl should be provided
values.yaml implies an option to disable persistence, but that option will be ignored
values.yaml provides a mountPath option, but for this example there is no reason to change it.
- deployment rollout strategy should be "Recreate" since the PVC is set to ReadWriteOnce. The default rollout strategy will deadlock waiting for the PVC to be released for the new pod
- As a nice-to-have, a sample IngressRoute for Traefik and config.toml that shows the proper proxy and tls passthrough settings for each service
Note: I am writing this from the perspective of a person learning k8s to hopefully make this document more useful to others in my position. I am quite grateful that this document existed in the first place, as it gave me a starting point. I wish to correct some of the omissions that caused me frustration.
The helm chart instructions described at https://stalw.art/docs/cluster/orchestration/kubernetes are missing a few steps.
{{- include ... }}statements imply a_helpers.tplfile which is not provided in the tutorial. A sample_helpers.tplshould be providedvalues.yamlimplies an option to disable persistence, but that option will be ignoredvalues.yamlprovides amountPathoption, but for this example there is no reason to change it.