📦 k8up/ k8up-io
Kubernetes and OpenShift Backup Operator
Установка и запуск
Install CRDs
CRDs can be either installed on the cluster by running make install or using kubectl apply -f config/crd/apiextensions.k8s.io/v1.
Currently there's an issue using make install related to how the CRDs are specified.
Therefore settle to the second approach for now.
Run the operator
You can run the operator in different ways:
- as a container image (see quickstart)
- using
make run-operator(provide your own kubeconfig) - using
make kind-run(uses KIND to install a cluster in docker and provides its own kubeconfig intestbin/) - using a configuration of your favorite IDE
Best is if you have minio installed somewhere to be able to setup the needed env values. It needs to be reachable from within your dev cluster.
Run E2E tests
You need node and npm to run the tests, as it runs with [DETIK][detik].
To run e2e tests, execute:
make e2e-test
To test just a specific e2e test, run:
make e2e-test -e BATS_FILES=test-02-deployment.bats
To remove the local KIND cluster and other e2e resources, run:
make e2e-clean
To cleanup all created artifacts, there's always:
make clean
Из README репозитория · полный README на GitHub