Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path to spin-runtime-class.yaml #44

Merged
merged 1 commit into from Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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
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
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
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