Last active
November 22, 2024 21:20
-
-
Save saiyam1814/21172ac193ad8bd7060a1f3308544d96 to your computer and use it in GitHub Desktop.
WASm on Kubernetes - perfectscale webinar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create SPin app | |
spin new -t http-rust demo --accept-defaults | |
spin build | |
spin up | |
spin registry push ttl.sh/saiyam:10h | |
spin kube scaffold -f ttl.sh/saiyam:10h > spinapp.yaml | |
## install Spinkube | |
Create civo Kubernetes cluster(Talos) | |
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.runtime-class.yaml | |
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.crds.yaml | |
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.4.0/spin-operator.shim-executor.yaml | |
helm install spin-operator \ | |
--namespace spin-operator \ | |
--create-namespace \ | |
--version 0.4.0 \ | |
--wait \ | |
oci://ghcr.io/spinkube/charts/spin-operator | |
## Deploy application | |
kubectl apply -f spinapp.yaml | |
kubectl reverse-proxy saiyam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment