4 ms·
Many of the environment-specific functionality provided by this tool can be more declaratively achieved by kustomize (https://kubernetes.io/docs/tasks/manage-ku
by alpb 7y ago
Many of the environment-specific functionality provided by this tool can be more declaratively achieved by kustomize (https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/ https://kubernetes.io/docs/tasks/manage-kubernetes-objects/k...) as well as direnv (https://direnv.net https://direnv.net) by automatically running commands to change environment etc when changing directories.
- colinchartier 7y agoKustomize is the closest thing to an alternative to Sanic, but I've found it's hard to teach new developers how to read and use patches correctly, and it doesn't really solve the "build and push to a specific registry per environment" problem
- alpb 7y agoI see. That’s also somehow solved by Skaffold. https://skaffold.dev/ https://skaffold.dev/ skaffold.yaml has a notion of "profiles" that define a default registry per-environment. Like, you can have a local profile that doesn't push images (as it detects docker-for-desktop, or minikube etc), and a "prod" profile that specifies a registry for images to be pushed and kubectl manifests to be auto-applied with the updated image:tag.