Skip to content

Commit 465814a

Browse files
Reference v0.6.0 Spin Operator release
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 668ef69 commit 465814a

File tree

9 files changed

+45
-36
lines changed

9 files changed

+45
-36
lines changed

content/en/docs/contrib/troubleshooting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ The error would look something like the following:
2121

2222
```console
2323
helm install spin-operator \
24-
--namespace spin-operator --create-namespace --version 0.5.0 --wait oci://ghcr.io/spinframework/charts/spin-operator
25-
Error: INSTALLATION FAILED: failed to download "oci://ghcr.io/spinframework/charts/spin-operator" at version "0.5.0"
24+
--namespace spin-operator --create-namespace --version 0.6.0 --wait oci://ghcr.io/spinframework/charts/spin-operator
25+
Error: INSTALLATION FAILED: failed to download "oci://ghcr.io/spinframework/charts/spin-operator" at version "0.6.0"
2626
```
2727

2828
To fix, either re-authenticate with the registry with a valid token (e.g. `docker login ghcr.io`) or log out of the registry and pull the chart anonymously (e.g. `docker logout ghcr.io`).
2929

3030
## No endpoints available for service "spin-operator-webhook-service"
3131

3232
When following the quickstart guide the following error can occur when running the `kubectl apply -f
33-
https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml`
33+
https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml`
3434
command:
3535

3636
```console
37-
Error from server (InternalError): error when creating "https://github.com/spinframework/spin-operator/releases/download/v0.5.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-spinkube-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service"
37+
Error from server (InternalError): error when creating "https://github.com/spinframework/spin-operator/releases/download/v0.6.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-spinkube-dev-v1alpha1-spinappexecutor?timeout=10s": no endpoints available for service "spin-operator-webhook-service"
3838
```
3939

4040
To address the error above, first look to see if Spin Operator is running:
@@ -80,13 +80,13 @@ To resolve this issue, please try to install the Spin Operator again. Except thi
8080
helm upgrade --install spin-operator \
8181
--namespace spin-operator \
8282
--create-namespace \
83-
--version 0.5.0 \
83+
--version 0.6.0 \
8484
--wait \
8585
oci://ghcr.io/spinframework/charts/spin-operator
8686
```
8787

8888
Once the Spin Operator is installed you can try and run the `kubectl apply -f
89-
https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml`
89+
https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml`
9090
command again. The issue should be resolved now.
9191

9292
## Error Validating Data: Connection Refused

content/en/docs/install/azure-kubernetes-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ installed.
8585

8686
```shell
8787
# Install the CRDs
88-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
88+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
8989

9090
# Install the Runtime Class
91-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
91+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
9292
```
9393

9494
The following installs [cert-manager](https://github.com/cert-manager/cert-manager) which is
@@ -150,15 +150,15 @@ namespace:
150150
helm install spin-operator \
151151
--namespace spin-operator \
152152
--create-namespace \
153-
--version 0.5.0 \
153+
--version 0.6.0 \
154154
--wait \
155155
oci://ghcr.io/spinframework/charts/spin-operator
156156
```
157157

158158
Lastly, create the [shim executor]({{< ref "glossary#spin-app-executor-crd" >}})::
159159

160160
```console
161-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
161+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
162162
```
163163

164164
## Deploying a Spin App to AKS

content/en/docs/install/installing-with-helm.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@ here we install the defaults.
6262
representing Spin applications to be scheduled on the cluster.
6363

6464
```shell
65-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
65+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
6666
```
6767

6868
- Next we create a [RuntimeClass]({{< ref "glossary#runtime-class" >}}) that points to the `spin`
6969
handler called `wasmtime-spin-v2`. If you are deploying to a production cluster that only has a shim
7070
on a subset of nodes, you'll need to modify the RuntimeClass with a `nodeSelector:`:
7171

7272
```shell
73-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
73+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
7474
```
7575

7676
- Finally, we create a `containerd-spin-shim` [SpinAppExecutor]({{< ref
7777
"glossary#spin-app-executor-crd" >}}). This tells the Spin Operator to use the RuntimeClass we
7878
just created to run Spin Apps:
7979

8080
```shell
81-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
81+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
8282
```
8383

8484
### Installing the Spin Operator Chart
@@ -90,7 +90,7 @@ The following installs the chart with the release name `spin-operator`:
9090
helm install spin-operator \
9191
--namespace spin-operator \
9292
--create-namespace \
93-
--version 0.5.0 \
93+
--version 0.6.0 \
9494
--wait \
9595
oci://ghcr.io/spinframework/charts/spin-operator
9696
```
@@ -101,7 +101,7 @@ Note that you may also need to upgrade the spin-operator CRDs in tandem with upg
101101
release:
102102

103103
```shell
104-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
104+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
105105
```
106106

107107
To upgrade the `spin-operator` release, run the following:
@@ -110,7 +110,7 @@ To upgrade the `spin-operator` release, run the following:
110110
# Upgrade Spin Operator using Helm
111111
helm upgrade spin-operator \
112112
--namespace spin-operator \
113-
--version 0.5.0 \
113+
--version 0.6.0 \
114114
--wait \
115115
oci://ghcr.io/spinframework/charts/spin-operator
116116
```
@@ -130,7 +130,7 @@ To completely uninstall all resources related to spin-operator, you may want to
130130
corresponding CRD resources and the RuntimeClass:
131131

132132
```shell
133-
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
134-
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
135-
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
133+
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
134+
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
135+
kubectl delete -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
136136
```

content/en/docs/install/microk8s.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ before proceeding.
6969
First, we need to apply a runtime class and a CRD for SpinKube:
7070

7171
```console { data-plausible="copy-quick-deploy-sample" }
72-
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
73-
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
72+
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
73+
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
7474
```
7575

7676
Both of these should apply immediately.
@@ -90,15 +90,15 @@ $ microk8s kubectl annotate node --all kwasm.sh/kwasm-node=true
9090
Next, we need to install SpinKube’s operator using Helm (which is included with Microk8s).
9191

9292
```console { data-plausible="copy-quick-deploy-sample" }
93-
$ microk8s helm install spin-operator --namespace spin-operator --create-namespace --version 0.5.0 --wait oci://ghcr.io/spinframework/charts/spin-operator
93+
$ microk8s helm install spin-operator --namespace spin-operator --create-namespace --version 0.6.0 --wait oci://ghcr.io/spinframework/charts/spin-operator
9494

9595
```
9696

9797
Now we have the main operator installed. There is just one more step. We need to install the shim
9898
executor, which is a special CRD that allows us to use multiple executors for WebAssembly.
9999

100100
```console { data-plausible="copy-quick-deploy-sample" }
101-
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
101+
$ microk8s kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
102102

103103
```
104104

content/en/docs/install/quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ kubectl wait --for=condition=available --timeout=300s deployment/cert-manager-we
5555
> every node.
5656
5757
```console { data-plausible="copy-quick-apply-runtime-class" }
58-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
58+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
5959
```
6060

6161
4. Apply the [Custom Resource Definitions]({{< ref "glossary#custom-resource-definition-crd" >}})
6262
used by the Spin Operator:
6363

6464
```console { data-plausible="copy-quick-apply-crd" }
65-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
65+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
6666
```
6767

6868
## Deploy the Spin Operator
@@ -77,15 +77,15 @@ and pods are spinning up.
7777
helm install spin-operator \
7878
--namespace spin-operator \
7979
--create-namespace \
80-
--version 0.5.0 \
80+
--version 0.6.0 \
8181
--wait \
8282
oci://ghcr.io/spinframework/charts/spin-operator
8383
```
8484

8585
Lastly, create the [shim executor]({{< ref "glossary#spin-app-executor-crd" >}}):
8686

8787
```console { data-plausible="copy-quick-create-shim-executor" }
88-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
88+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
8989
```
9090

9191
## Run the Sample Application

content/en/docs/reference/spin-app.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ cannot be defined if this is enabled. By default EnableAutoscaling is false.<br/
132132
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling the image.<br/>
133133
</td>
134134
<td>false</td>
135+
</tr><tr>
136+
<td><b>invocationLimits</b></td>
137+
<td>map[string]string</td>
138+
<td>
139+
InvocationLimits define limits to be applied per invocation of the app.
140+
The keys are the names of the limits and the values are the limit values.
141+
SpinKube executors may define their own limits.<br/>
142+
</td>
143+
<td>false</td>
135144
</tr><tr>
136145
<td><b>podAnnotations</b></td>
137146
<td>map[string]string</td>

content/en/docs/topics/autoscaling/scaling-with-hpa.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ Next, run the following commands to install the Spin [Runtime Class]({{<ref
7474
7575
```console
7676
# Install the RuntimeClass
77-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
77+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
7878

7979
# Install the CRDs
80-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
80+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
8181
```
8282

8383
Lastly, install Spin Operator using `helm` and the [shim executor]({{< ref
@@ -88,12 +88,12 @@ Lastly, install Spin Operator using `helm` and the [shim executor]({{< ref
8888
helm install spin-operator \
8989
--namespace spin-operator \
9090
--create-namespace \
91-
--version 0.5.0 \
91+
--version 0.6.0 \
9292
--wait \
9393
oci://ghcr.io/spinframework/charts/spin-operator
9494

9595
# Install the shim executor
96-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
96+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
9797
```
9898

9999
Great, now you have Spin Operator up and running on your cluster. This means you’re set to create

content/en/docs/topics/autoscaling/scaling-with-keda.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ Next, run the following commands to install the Spin [Runtime Class]({{<ref
7474
7575
```console
7676
# Install the RuntimeClass
77-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.runtime-class.yaml
77+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.runtime-class.yaml
7878

7979
# Install the CRDs
80-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.crds.yaml
80+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.crds.yaml
8181
```
8282

8383
Lastly, install Spin Operator using `helm` and the [shim executor]({{< ref
@@ -88,12 +88,12 @@ Lastly, install Spin Operator using `helm` and the [shim executor]({{< ref
8888
helm install spin-operator \
8989
--namespace spin-operator \
9090
--create-namespace \
91-
--version 0.5.0 \
91+
--version 0.6.0 \
9292
--wait \
9393
oci://ghcr.io/spinframework/charts/spin-operator
9494

9595
# Install the shim executor
96-
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.5.0/spin-operator.shim-executor.yaml
96+
kubectl apply -f https://github.com/spinframework/spin-operator/releases/download/v0.6.0/spin-operator.shim-executor.yaml
9797
```
9898

9999
Great, now you have Spin Operator up and running on your cluster. This means you’re set to create

crd-reference/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script_dir=$(dirname "$0")
99

1010
cd $script_dir
1111

12-
SPIN_OPERATOR_RELEASE=${SPIN_OPERATOR_RELEASE:-v0.5.0}
12+
SPIN_OPERATOR_RELEASE=${SPIN_OPERATOR_RELEASE:-v0.6.0}
1313

1414
echo "Installing crdoc"
1515
go install fybrik.io/crdoc@latest

0 commit comments

Comments
 (0)