Skip to content

The script to spin up clusters using Cluster API and KubeAid.

License

Notifications You must be signed in to change notification settings

Obmondo/kubeaid-bootstrap-script

Repository files navigation

KubeAid Bootstrap Script

The KubeAid Bootstrap Script is used to bootstrap Kubernetes clusters using Cluster API and KubeAid.

Currently it only supports bootstrapping self-managed clusters in AWS.

Official Guides

Developer Guide

Make sure, you've Docker installed in your system.

Run make build-image-dev to build the KubeAid Bootstrap Script container image (development version).

Then run make run-container-dev to run the container.

In a separate terminal window, use make exec-container-dev to execute into the container.

Once you're inside the container, use make generate-sample-config-aws-dev to generate a sample config file at ./outputs/kubeaid-bootstrap-script.config.yaml, targetting the AWS cloud provider. Adjust the config file according to your needs.

Then run make bootstrap-cluster-dev to bootstrap the cluster!

TODOs

  • Check Git URL if SSH agent is used.
  • Validation for sshagentauth (should not accept https url).
  • --debug flag to print command execution outputs.
  • Support adding admin SSH keys via config file.
  • Support using HTTPS for ArgoCD apps.
  • Use ArgoCD sync waves so that we don't need to explicitly sync the Infrastructure Provider component first.

REFERENCES