Skip to content

Cluster Commands

clustertool init

clustertool genconfig

This command is to update certain files. This especially is needed when you add a new chart to automate the kustomization changes needed and/or when clusterenv.yaml is changed. Otherwise new ENV in clusterenv.yaml wont be available in your cluster.

These commands are used to encrypt/decrypt and check files for encryption.

clustertool encrypt

This command will encrypt your files to be ready to be pushed to git. Nobody can decrypt them without your agekey.

clustertool decrypt

This command will decrypt your files so you can modify them locally when needed. Always make sure to encrypt before pushing them to git again.

clustertool checkcrypt

This checks the current state of your files if they are encrypted and you are unsure about it.

These commands are used to manage certain Talos specific commands

clustertool talos apply

This command is to initially bootstrap your cluster as well as when you added additional patches to your talconfig.yaml. This can possible restart your cluster if needed. THis wont add new extensions to your cluster.

clustertool talos upgrade

This command is used to update your cluster when you changed extensions and add those to your cluster.

clustertool talos health

This command is to check your cluster for its current status and health state.

clustertool talos kubeconfig

This command checks the cluster for health and generates a new kubeconfig if you ever lost your existing one.

clustertool talos reset

These commands are generally not needed if you follow our Getting Started Guide and dont do anything special.

clustertool precommit

This command runs the precommit check and makes sure all files are encrypted before pushing. This is added to the git settings and should already run on every commit by default.

clustertool flux bootstrap

This command is to bootstrap flux after doing the initial setup without. We generally advice people to bootstrap flux right from the start.