diff --git a/content/en/docs/spin-operator/tutorials/deploy-on-azure-kubernetes-service.md b/content/en/docs/spin-operator/tutorials/deploy-on-azure-kubernetes-service.md index 00a83f3..91067f1 100644 --- a/content/en/docs/spin-operator/tutorials/deploy-on-azure-kubernetes-service.md +++ b/content/en/docs/spin-operator/tutorials/deploy-on-azure-kubernetes-service.md @@ -42,6 +42,7 @@ az group create --name rg-spin-operator \ # Create an AKS cluster az aks create --name aks-spin-operator \ --resource-group rg-spin-operator \ + --location germanywestcentral \ --node-count 1 \ --tier free \ --generate-ssh-keys @@ -86,28 +87,21 @@ kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0. The following installs [cert-manager](https://github.com/cert-manager/cert-manager) which is required to automatically provision and manage TLS certificates (used by the admission webhook system of Spin Operator) ```shell +# Install cert-manager CRDs +kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.3/cert-manager.crds.yaml + +# Add and update Jetstack repository helm repo add jetstack https://charts.jetstack.io +helm repo update + +# Install the cert-manager Helm chart helm install cert-manager jetstack/cert-manager \ --namespace cert-manager \ --create-namespace \ - --version v1.13.3 \ - --set installCRDs=true -``` - -The following installs the chart with the release name `spin-operator` in the `spin-operator` namespace: - - - -```shell -helm install spin-operator \ - --namespace spin-operator \ - --create-namespace \ - --devel \ - --wait \ - oci://ghcr.io/spinkube/charts/spin-operator + --version v1.13.3 ``` -The Spin Operator chart has a dependency on [Kwasm](https://kwasm.sh/), which you use to install `containerd-wasm-shim` on the Kubernetes node(s): +The Spin Operator chart also has a dependency on [Kwasm](https://kwasm.sh/), which you use to install `containerd-wasm-shim` on the Kubernetes node(s): @@ -115,24 +109,40 @@ The Spin Operator chart has a dependency on [Kwasm](https://kwasm.sh/), which yo ```shell # Add Helm repository if not already done helm repo add kwasm http://kwasm.sh/kwasm-operator/ +helm repo update # Install KWasm operator -helm install -n kwasm --create-namespace kwasm-operator kwasm/kwasm-operator +helm install kwasm-operator kwasm/kwasm-operator \ + --namespace kwasm \ + --create-namespace # Provision Nodes kubectl annotate node --all kwasm.sh/kwasm-node=true ``` - To verify `containerd-wasm-shim` installation, you can inspect the logs from the Kwasm Operator: ```shell # Ispect logs from the Kwasm Operator -kubectl logs -n spin-operator -l app.kubernetes.io/name=kwasm-operator +kubectl logs -n kwasm -l app.kubernetes.io/name=kwasm-operator + {"level":"info","node":"aks-nodepool1-31687461-vmss000000","time":"2024-02-12T11:23:43Z","message":"Trying to Deploy on aks-nodepool1-31687461-vmss000000"} {"level":"info","time":"2024-02-12T11:23:43Z","message":"Job aks-nodepool1-31687461-vmss000000-provision-kwasm is still Ongoing"} {"level":"info","time":"2024-02-12T11:24:00Z","message":"Job aks-nodepool1-31687461-vmss000000-provision-kwasm is Completed. Happy WASMing"} ``` +The following installs the chart with the release name `spin-operator` in the `spin-operator` namespace: + + + +```shell +helm install spin-operator \ + --namespace spin-operator \ + --create-namespace \ + --devel \ + --wait \ + oci://ghcr.io/spinkube/charts/spin-operator +``` + Lastly, create the shim executor: