gardener-extension-accounting

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: MIT

README

gardener-extension-accounting

Deploys cluster accounting components into the seed's shoot namespaces.

Deploying into local Gardener

It is possible to deploy gardener-extension-accounting to a local Gardener cluster. Currently only a patched version v1.56.2 of Gardener is supported. Clone it and spin up the local development environment:

git clone git@github.com:metal-stack/gardener.git --branch release-v1.56.2+updatedCerts
cd gardener
make kind-up gardener-up

Now point your KUBECONFIG to the Gardener cluster:

export KUBECONFIG=/path/to/gardener/example/gardener-local/kind/kubeconfig

Next, we need to deploy some CRDs for cluster-wide network policies of the firewall controller:

git clone git@github.com:metal-stack/firewall-controller.git
kubectl apply -f config/crd/bases/metal-stack.io_clusterwidenetworkpolicies.yaml

Now we create the firewall namespace, as the accounting extension tries to deploy a cluster-wide network policy in there:

kubectl create ns firewall

Now you are able to deploy the accounting extension itself:

kubectl apply -k example/
kubectl apply -f example/shoot.yaml
make push-to-gardener-local

Finally you need to connect your local gardener installation with a running metal-stack. Though this couldn't be done locally due to performance reasons.

Directories

Path Synopsis
gardener-extension-accounting
Package chart enables go:generate support for generating the correct controller registration.
Package chart enables go:generate support for generating the correct controller registration.
cmd
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL