This project will be responsible for managing Kyma clusters infrastructure. Buil using kubebuilder framework It's main responsibilities will be:
- Provisioning and deprovisioning Kyma clusters
- Generating dynamic kubeconfigs
- Access to a k8s cluster.
- k3d to get a local cluster for testing, or run against a remote cluster.
- kubectl
- kubebuilder
- Clone the project.
git clone https://github.com/kyma-project/infrastructure-manager.git && cd infrastructure-manager/
- Set the
infrastructure-manager
image name.
export IMG=custom-infrastructure-manager:0.0.1
export K3D_CLUSTER_NAME=infrastructure-manager-demo
- Build the project.
make build
- Build the image.
make docker-build
- Push the image to the registry.
k3d
k3d image import $IMG -c $K3D_CLUSTER_NAME
Globally available Docker registry
make docker-push
- Deploy.
make deploy
- Create a Secret with the Gardener credentials
export GARDENER_KUBECONFIG_PATH=<kubeconfig file for Gardener project>
make gardener-secret-deploy
TODO:
Explain how to use the project. You can create multiple subsections (H3). Include the instructions or provide links to the related documentation.
Add instructions on how to develop the project or example. It must be clear what to do and, for example, how to trigger the tests so that other contributors know how to make their pull requests acceptable. Include the instructions or provide links to related documentation.
List potential issues and provide tips on how to avoid or solve them. To structure the content, use the following sections:
- Symptom
- Cause
- Remedy
See CONTRIBUTING.md
See the LICENSE file