Moving cluster-template to "multi-cluster" structure based on cluster-template 2024.11.0 #1629
rkoosaar
started this conversation in
Show and tell
Replies: 1 comment
-
Is there anything else needed or is this all I would need to do if I want to spin up a second cluster in my repo? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
changes to Taskfile.yaml (located in the root folder)
add the following variables:
comment out KUBERNETES_DIR:
make changes to kubernetes folder (located in bootstrap > templates)
inside kubernetes folder, create a folder called main.
move all other folders inside the newly created main folder
so you should end up with:
bootstrap taskfile changes (located .taskfiles > bootstrap)
replace
KUBERNETES_DIR
withCLUSTER_DIR
kubernetes taskfile changes (located .taskfiles > kubernetes)
replace
KUBERNETES_DIR
withCLUSTER_DIR
talos taskfile changes (located .taskfiles > talos)
replace
KUBERNETES_DIR
withCLUSTER_DIR
change flux ks.yaml files
replace
kubernetes/apps
withkubernetes/main/apps
in all the ks.yaml files located in bootstrap > templateschange the cluster.yaml.j2 file
open the
bootstrap/templates/kubernetes/main/flux/config/cluster.yaml.j2
replace
./kubernetes/flux
with./kubernetes/main/flux
change bootstrap scripts
open
bootstrap/scripts/plugin.py
look for:
templates/kubernetes/bootstrap
change to:
templates/kubernetes/main/bootstrap
kubeconform.yaml changes (located in .github > worklows folder)
change
KUBERNETES_DIR
variable to./kubernetes/main
Beta Was this translation helpful? Give feedback.
All reactions