Skip to content

Commit

Permalink
Merge pull request #44 from spinkube/fix/spin-runtime-class
Browse files Browse the repository at this point in the history
Update path to spin-runtime-class.yaml
  • Loading branch information
endocrimes committed Mar 4, 2024
2 parents 95ba54a + 6daba85 commit 673cc27
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ you'll need to modify the RuntimeClass with a `nodeSelector:`.
<!-- TODO: replace with e.g. 'kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.1.0-rc.1/spin-operator.runtime-class.yaml' -->

```console
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
```

## Chart prerequisites
Expand Down Expand Up @@ -128,7 +128,7 @@ kubectl delete -f https://github.com/spinkube/spin-operator/releases/download/v0

```console
make uninstall
kubectl delete -f spin-runtime-class.yaml
kubectl delete -f config/samples/spin-runtime-class.yaml
```

<!-- TODO: list out configuration options? -->
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/spin-operator/quickstart/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ k3d cluster create wasm-cluster \
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.2/cert-manager.yaml
```

3. Apply the [Runtime Class](https://github.com/spinkube/spin-operator/blob/main/spin-runtime-class.yaml) used for scheduling Spin apps onto nodes running the shim:
3. Apply the [Runtime Class](https://github.com/spinkube/spin-operator/blob/main/config/samples/spin-runtime-class.yaml) used for scheduling Spin apps onto nodes running the shim:

> Note: In a production cluster you likely want to customize the runtimeClass with a `nodeSelector:` that matches nodes that have the shim installed. In the K3D example they're installed on every node.
<!-- TODO: replace with e.g. 'kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.1.0-rc.1/spin-operator.runtime-class.yaml' -->

```console
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
```

4. Apply the [Custom Resource Definitions](../../glossary#custom-resource-definition-crd) used by the Spin Operator:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ First, the [Custom Resource Definition (CRD)]({{< ref "/docs/glossary/_index.md#
make install

# Install the RuntimeClass
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
```

The following installs [Cert Manager](https://github.com/cert-manager/cert-manager) which is required to automatically provision and manage TLS certificates (used by spin-operator's admission webhook system)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ k3d cluster create wasm-cluster-scale --image ghcr.io/deislabs/containerd-wasm-s
Next, from within the `spin-operator` directory, run the following commands to install the Spin runtime class and Spin Operator:

```console
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
make install
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ k3d cluster create wasm-cluster-scale --image ghcr.io/deislabs/containerd-wasm-s
Next, from within the `spin-operator` directory, run the following commands to install the Spin runtime class and Spin Operator:

```console
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
make install
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Make sure you have the proper permission to the registry if the above commands d
**Apply the Runtime Class to the cluster:**

```console
kubectl apply -f spin-runtime-class.yaml
kubectl apply -f config/samples/spin-runtime-class.yaml
```

**Install the CRDs into the cluster:**
Expand Down Expand Up @@ -74,7 +74,7 @@ make uninstall
**Delete the Runtime Class from the cluster:**

```console
kubectl delete -f spin-runtime-class.yaml
kubectl delete -f config/samples/spin-runtime-class.yaml
```

**UnDeploy the controller from the cluster:**
Expand Down Expand Up @@ -109,7 +109,7 @@ make helm-generate

**Install the Helm chart onto the cluster:**

> **Note**: [CRDs](./config/crd/bases/) and the [wasm-spin-v2](./spin-runtime-class.yaml)
> **Note**: [CRDs](./config/crd/bases/) and the [wasm-spin-v2](./config/samples/spin-runtime-class.yaml)
> RuntimeClass are currently _not_ installed as part of the chart. You'll need to ensure these are
> present via the method(s) mentioned above.
Expand Down

0 comments on commit 673cc27

Please sign in to comment.