diff --git a/content/en/docs/contrib/troubleshooting.md b/content/en/docs/contrib/troubleshooting.md index 33f62dc0..0b2b662a 100644 --- a/content/en/docs/contrib/troubleshooting.md +++ b/content/en/docs/contrib/troubleshooting.md @@ -12,11 +12,11 @@ might assist you with your work. ## No endpoints available for service "spin-operator-webhook-service" When following the quickstart guide the following error can occur when running the `kubectl apply -f -https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml` +https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml` command: ```console -Error from server (InternalError): error when creating "https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml": Internal error occurred: failed calling webhook "mspinappexecutor.kb.io": failed to call webhook: Post "https://spin-operator-webhook-service.spin-operator.svc:443/mutate-core-spinoperator-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service" +Error from server (InternalError): error when creating "https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml": Internal error occurred: failed calling webhook "mspinappexecutor.kb.io": failed to call webhook: Post "https://spin-operator-webhook-service.spin-operator.svc:443/mutate-core-spinoperator-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service" ``` To address the error above, first look to see if Spin Operator is running: @@ -62,13 +62,13 @@ To resolve this issue, please try to install the Spin Operator again. Except thi helm upgrade --install spin-operator \ --namespace spin-operator \ --create-namespace \ - --version 0.2.0 \ + --version 0.3.0 \ --wait \ oci://ghcr.io/spinkube/charts/spin-operator ``` Once the Spin Operator is installed you can try and run the `kubectl apply -f -https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml` +https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml` command again. The issue should be resolved now. ## Error Validating Data: Connection Refused diff --git a/content/en/docs/install/azure-kubernetes-service.md b/content/en/docs/install/azure-kubernetes-service.md index 24c75f2e..373e2f62 100644 --- a/content/en/docs/install/azure-kubernetes-service.md +++ b/content/en/docs/install/azure-kubernetes-service.md @@ -84,10 +84,10 @@ installed. ```shell # Install the CRDs -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml # Install the Runtime Class -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.runtime-class.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml ``` The following installs [cert-manager](https://github.com/cert-manager/cert-manager) which is @@ -156,7 +156,7 @@ helm install spin-operator \ Lastly, create the [shim executor]({{< ref "glossary#spin-app-executor-crd" >}}):: ```console -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml ``` ## Deploying a Spin App to AKS diff --git a/content/en/docs/install/installing-with-helm.md b/content/en/docs/install/installing-with-helm.md index 7e6c1b6f..8e3e8891 100644 --- a/content/en/docs/install/installing-with-helm.md +++ b/content/en/docs/install/installing-with-helm.md @@ -62,7 +62,7 @@ here we install the defaults. representing Spin applications to be scheduled on the cluster. ```shell -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml ``` - Next we create a [RuntimeClass]({{< ref "glossary#runtime-class" >}}) that points to the `spin` @@ -70,7 +70,7 @@ handler called `wasmtime-spin-v2`. If you are deploying to a production cluster on a subset of nodes, you'll need to modify the RuntimeClass with a `nodeSelector:`: ```shell -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.runtime-class.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml ``` - Finally, we create a `containerd-spin-shim` [SpinAppExecutor]({{< ref @@ -78,7 +78,7 @@ kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0. just created to run Spin Apps: ```shell -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml ``` ### Installing the Spin Operator Chart @@ -102,7 +102,7 @@ Note that you may also need to upgrade the spin-operator CRDs in tandem with upg release: ```shell -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml ``` To upgrade the `spin-operator` release, run the following: @@ -131,7 +131,7 @@ To completely uninstall all resources related to spin-operator, you may want to corresponding CRD resources and the RuntimeClass: ```shell -kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml -kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.runtime-class.yaml -kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml +kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml +kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml ``` diff --git a/content/en/docs/install/microk8s.md b/content/en/docs/install/microk8s.md index 762bb5cf..1a4b7dc2 100644 --- a/content/en/docs/install/microk8s.md +++ b/content/en/docs/install/microk8s.md @@ -68,8 +68,8 @@ before proceeding. First, we need to apply a runtime class and a CRD for SpinKube: ```console { data-plausible="copy-quick-deploy-sample" } -$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.runtime-class.yaml -$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml +$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml ``` Both of these should apply immediately. @@ -97,7 +97,7 @@ Now we have the main operator installed. There is just one more step. We need to executor, which is a special CRD that allows us to use multiple executors for WebAssembly. ```console { data-plausible="copy-quick-deploy-sample" } -$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml +$ microk8s kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml ``` diff --git a/content/en/docs/install/quickstart.md b/content/en/docs/install/quickstart.md index cac34699..eab0fd21 100644 --- a/content/en/docs/install/quickstart.md +++ b/content/en/docs/install/quickstart.md @@ -55,14 +55,14 @@ kubectl wait --for=condition=available --timeout=300s deployment/cert-manager-we > every node. ```console { data-plausible="copy-quick-apply-runtime-class" } -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.runtime-class.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.runtime-class.yaml ``` 4. Apply the [Custom Resource Definitions]({{< ref "glossary#custom-resource-definition-crd" >}}) used by the Spin Operator: ```console { data-plausible="copy-quick-apply-crd" } -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.crds.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.crds.yaml ``` ## Deploy the Spin Operator @@ -77,7 +77,7 @@ and pods are spinning up. helm install spin-operator \ --namespace spin-operator \ --create-namespace \ - --version 0.2.0 \ + --version 0.3.0 \ --wait \ oci://ghcr.io/spinkube/charts/spin-operator ``` @@ -85,7 +85,7 @@ helm install spin-operator \ Lastly, create the [shim executor]({{< ref "glossary#spin-app-executor-crd" >}}): ```console { data-plausible="copy-quick-create-shim-executor" } -kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.2.0/spin-operator.shim-executor.yaml +kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.3.0/spin-operator.shim-executor.yaml ``` ## Run the Sample Application diff --git a/content/en/docs/topics/autoscaling/scaling-with-hpa.md b/content/en/docs/topics/autoscaling/scaling-with-hpa.md index f85ae766..a13f44e7 100644 --- a/content/en/docs/topics/autoscaling/scaling-with-hpa.md +++ b/content/en/docs/topics/autoscaling/scaling-with-hpa.md @@ -74,10 +74,10 @@ Next, run the following commands to install the Spin [Runtime Class]({{