Skip to content

Commit

Permalink
Merge pull request #181 from kate-goldenring/bump-for-shim-v0.15.0
Browse files Browse the repository at this point in the history
Update docs for Shim v0.15.0 release
  • Loading branch information
Mossaka authored Jun 26, 2024
2 parents 374860f + 824d744 commit 533d5ad
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
7 changes: 3 additions & 4 deletions content/en/docs/containerd-shim-spin/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ Overall, the Containerd Shim Spin represents a significant advancement in integr

Below is a table of the shims and the the most recent versions of the shims that are supported by this project.

| **shim version** | v0.12.0 | v0.13.0 | v0.14.0 | v0.14.1 |
| ---------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| **spin** | [v2.2.0](https://github.com/fermyon/spin/releases/tag/v2.2.0) | [v2.3.1](https://github.com/fermyon/spin/releases/tag/v2.3.1) | [v2.4.2](https://github.com/fermyon/spin/releases/tag/v2.4.2) | [v2.4.3](https://github.com/fermyon/spin/releases/tag/v2.4.3) |

| **shim version** | v0.12.0 | v0.13.0 | v0.14.0 | v0.14.1 | v0.15.0 |
| ---------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| **spin** | [v2.2.0](https://github.com/fermyon/spin/releases/tag/v2.2.0) | [v2.3.1](https://github.com/fermyon/spin/releases/tag/v2.3.1) | [v2.4.2](https://github.com/fermyon/spin/releases/tag/v2.4.2) | [v2.4.3](https://github.com/fermyon/spin/releases/tag/v2.4.3) | [v2.6.0](https://github.com/fermyon/spin/releases/tag/v2.6.0) |

## Installing the `containerd-shim-spin` on Kubernetes Nodes

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/glossary/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ kind: SpinApp
metadata:
name: simple-spinapp
spec:
image: "ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.14.1"
image: "ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.15.0"
replicas: 1
executor: "containerd-shim-spin"
```
Expand All @@ -59,7 +59,7 @@ kind: SpinApp
metadata:
name: simple-spinapp
spec:
image: 'ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.14.1'
image: 'ghcr.io/spinkube/containerd-shim-spin/examples/spin-rust-hello:v0.15.0'
replicas: 3
imagePullSecrets:
- name: spin-image-secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ helm install \
kwasm-operator kwasm/kwasm-operator \
--namespace kwasm \
--create-namespace \
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.14.1
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.15.0

# Provision Nodes
kubectl annotate node --all kwasm.sh/kwasm-node=true
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/spin-operator/quickstart/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For this Quickstart in particular, you will need:

```console { data-plausible="copy-quick-create-k3d" }
k3d cluster create wasm-cluster \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.14.1 \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.15.0 \
--port "8081:80@loadbalancer" \
--agents 2
```
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/spin-operator/support/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ helm install \
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.14.0
```

Reissuing the above command with the new version `v0.14.1` will result in the following error - `Error: INSTALLATION FAILED: cannot re-use a name that is still in use`. To use the same command when installing and upgrading a release, use `upgrade --install` ([as referenced here in the official Helm documentation](https://v2.helm.sh/docs/developing_charts/#upgrade-a-release-idempotently)). For example:
Reissuing the above command with the new version `v0.15.0` will result in the following error - `Error: INSTALLATION FAILED: cannot re-use a name that is still in use`. To use the same command when installing and upgrading a release, use `upgrade --install` ([as referenced here in the official Helm documentation](https://v2.helm.sh/docs/developing_charts/#upgrade-a-release-idempotently)). For example:

```console
helm upgrade --install \
kwasm-operator kwasm/kwasm-operator \
--namespace kwasm \
--create-namespace \
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.14.1
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.15.0
```

## Cluster Already Exists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ helm install \
kwasm-operator kwasm/kwasm-operator \
--namespace kwasm \
--create-namespace \
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.14.1
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.15.0

# Provision Nodes
kubectl annotate node --all kwasm.sh/kwasm-node=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ helm install \
kwasm-operator kwasm/kwasm-operator \
--namespace kwasm \
--create-namespace \
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.14.1
--set kwasmOperator.installerImage=ghcr.io/spinkube/containerd-shim-spin/node-installer:v0.15.0

kubectl annotate node --all kwasm.sh/kwasm-node=true
```
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/spin-operator/tutorials/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Run the following command to create a Kubernetes k3d cluster that has [the
containerd-shim-spin](https://github.com/spinkube/containerd-shim-spin) pre-requisites installed:

```console
k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.14.1 -p "8081:80@loadbalancer" --agents 2
k3d cluster create wasm-cluster --image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.15.0 -p "8081:80@loadbalancer" --agents 2
```

Run the following command to install the Custom Resource Definitions (CRDs) into the cluster:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Run the following command to create a Kubernetes cluster that has [the container

```console
k3d cluster create wasm-cluster-scale \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.14.1 \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.15.0 \
-p "8081:80@loadbalancer" \
--agents 2
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Run the following command to create a Kubernetes cluster that has [the container

```console
k3d cluster create wasm-cluster-scale \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.14.1 \
--image ghcr.io/spinkube/containerd-shim-spin/k3d:v0.15.0 \
-p "8081:80@loadbalancer" \
--agents 2
```
Expand Down

0 comments on commit 533d5ad

Please sign in to comment.