3 ms·
What if you have dev and prod clusters/namespaces for the same project (and thus directory)?
by remram 2y ago
What if you have dev and prod clusters/namespaces for the same project (and thus directory)?
- physicles 2y agoWe’ve avoided that situation with kustomize. Common resources go into a ‘bases’ directory, and if two clusters have identical resources, then they both have their own directories and reference all the base resources from there. In practice, there are always slight differences between cluster config between test and prod (using different S3 buckets, for example) so this is needed anyway.