BTP Manager is an operator for SAP BTP Service Operator based on Kubebuilder framework. It extends Kubernetes API by providing BtpOperator CRD which allows to manage SAP BTP Service Operator resource through CR.
Use the following commands to run the BTP Manager controller from your host. Both make
commands refer to Makefile in the operator
directory.
make install
make run
There are two ways to install BTP Manager in your cluster:
With btp-operator module image
Use the following command to download and install BTP manager from OCI Image in your cluster.
./hack/run_module_image.sh europe-docker.pkg.dev/kyma-project/prod/unsigned/component-descriptors/kyma.project.io/module/btp-operator:v0.2.3
NOTE: Before using the script, you must install Helm, skopeo and jq.
With `template.yaml`
To install BTP Manager using a template file (the output of the kyma alpha create module command) in your cluster, use the following command:
./hack/run_template.sh https://github.com/kyma-project/btp-manager/releases/download/0.2.3/template.yaml
NOTE: Before using the script, you must install Helm, skopeo, jq and yq.
Use the following command to uninstall BTP Manager from your cluster.
helm uninstall btp-manager -n kyma-system
To install SAP BTP Service Operator, run the following commands:
kubectl apply -f deployments/prerequisites.yaml
kubectl apply -f examples/btp-manager-secret.yaml
kubectl apply -f examples/btp-operator.yaml
namespace/kyma-system created
priorityclass.scheduling.k8s.io/kyma-system created
secret/sap-btp-manager created
btpoperator.operator.kyma-project.io/btpoperator-sample created
Check BtpOperator
CR status by running the following command:
kubectl get btpoperators btpoperator-sample
The expected result is:
NAME STATE
btpoperator-sample Ready
To uninstall SAP BTP Service Operator, run the following commands:
kubectl delete -f examples/btp-operator.yaml
kubectl delete -f examples/btp-manager-secret.yaml
kubectl delete -f deployments/prerequisites.yaml
btpoperator.operator.kyma-project.io "btpoperator-sample" deleted
secret "sap-btp-manager" deleted
namespace "kyma-system" deleted
priorityclass.scheduling.k8s.io "kyma-system" deleted