Running on a Cluster
Categories:
Prerequisites
Please ensure that your system has all the prerequisites installed before continuing.
Running on Your Kubernetes Cluster
This is the standard development workflow for when you want to test running Spin Operator on a Kubernetes cluster. This is harder than running Spin Operator on your local machine, but deploying Spin Operator into your cluster lets you test things like webhooks.
Note that you need to install cert-manager for webhook support.
To install cert-manager with the default config
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.3/cert-manager.yaml
Deploy the Manager to the cluster with the image specified by IMG
:
make deploy IMG=<some-registry>/spin-operator:tag
NOTE: If you encounter RBAC errors, you may need to grant yourself cluster-admin privileges or be logged in as admin.
To create instances of your solution, apply the samples (examples) from the config/sample:
kubectl apply -k config/samples/
NOTE: Ensure that the samples has default values to test it out.
Feedback
Was this page helpful?
Glad to hear it!
Sorry to hear that. Please tell us how we can improve.