Skip to content

dellagustin-sap/infrastructure-manager

 
 

Repository files navigation

REUSE status

Infrastructure manager

Overview

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

Prerequisites

  • Access to a k8s cluster.
  • k3d to get a local cluster for testing, or run against a remote cluster.
  • kubectl
  • kubebuilder

Installation

  1. Clone the project.
git clone https://github.com/kyma-project/infrastructure-manager.git && cd infrastructure-manager/
  1. Set the infrastructure-manager image name.
export IMG=custom-infrastructure-manager:0.0.1
export K3D_CLUSTER_NAME=infrastructure-manager-demo
  1. Build the project.
make build
  1. Build the image.
make docker-build
  1. Push the image to the registry.
k3d
k3d image import $IMG -c $K3D_CLUSTER_NAME
Globally available Docker registry
make docker-push
  1. Deploy.
make deploy
  1. Create a Secret with the Gardener credentials
export GARDENER_KUBECONFIG_PATH=<kubeconfig file for Gardener project> 
make gardener-secret-deploy

Usage

TODO:

Explain how to use the project. You can create multiple subsections (H3). Include the instructions or provide links to the related documentation.

Development

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.

Troubleshooting

List potential issues and provide tips on how to avoid or solve them. To structure the content, use the following sections:

  • Symptom
  • Cause
  • Remedy

Contributing

See CONTRIBUTING.md

Code of Conduct

See CODE_OF_CONDUCT.md

Licensing

See the LICENSE file

About

Upstream fork for one-time fix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.1%
  • Makefile 14.5%
  • Dockerfile 2.4%