You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We manage multiple k8s clusters (prod, test, etc) and each team can have one or more namespaces.
Namespaces will usually be the same on all clusters. For example, team1 has a namespace called team1-backend and team1-frontend on both the test and the prod cluster.
In our kapitan configuration, each k8s namespace in a cluster would be a target.
Ideally we would like to have an inventory structure like this:
this way each team has their own configs in a subfolder they care about
It's also clear if something is for prod or test cluster.
And then when it comes to deploy everything to a cluster, I can just kubectl apply everything inside compiled/test or compiled/prod
I'm aware of the kapitan output_path config. However, that applies to paths AFTER the target folder.
What I want to do is to have a structure BEFORE the target folder. Between compiled folder and target folder.
This should also be combined with inventory/reclass-config.yaml option:
More details in this slack conversation
We manage multiple k8s clusters (prod, test, etc) and each team can have one or more namespaces.
Namespaces will usually be the same on all clusters. For example,
team1
has a namespace calledteam1-backend
andteam1-frontend
on both the test and the prod cluster.In our kapitan configuration, each k8s namespace in a cluster would be a target.
Ideally we would like to have an
inventory
structure like this:and a
compiled
folder like this:this way each team has their own configs in a subfolder they care about
It's also clear if something is for prod or test cluster.
And then when it comes to deploy everything to a cluster, I can just
kubectl apply
everything insidecompiled/test
orcompiled/prod
I'm aware of the kapitan
output_path
config. However, that applies to paths AFTER the target folder.What I want to do is to have a structure BEFORE the target folder. Between compiled folder and target folder.
This should also be combined with
inventory/reclass-config.yaml
option:More info about this flag here.
The text was updated successfully, but these errors were encountered: