Skip to content

spinkube/azure

Repository files navigation

SpinKube Helm Chart

This is a Helm chart for deploying SpinKube on AKS

Create a new AKS cluster

To create a new AKS cluster, you can use the following command:

az login --use-device-code
export RG=spinkube-demo
az group create --name $(echo $RG) --location eastus2
az aks create --name spinkube-azure-$(echo $RG) \
    --resource-group $(echo $RG) \
    --node-count 1 \
    --tier free \
    --generate-ssh-keys
az aks get-credentials --resource-group $(echo $RG) --name spinkube-azure-$(echo $RG)
kubectl config current-context

Install SpinKube

helm install --wait spinkube .

Deploy a Spin App

kubectl apply -f https://raw.githubusercontent.com/spinkube/spin-operator/main/config/samples/simple.yaml

and then check the status of the Spin App:

kubectl port-forward services/simple-spinapp 8080:80
curl http://localhost:8080/hello