A simple website containing two components:
- homepage
- theme
kubectl create namespace spaship-examples
kubectl apply -n spaship-examples -f https://raw.githubusercontent.com/spaship/spaship-examples/main/websites/01-simple/deployment-simple-allenvs.yaml
Install okteto.
Start Dev container
cd websites/01-simple
okteto up --namespace spaship-examples
Website is ready under http://localhost:8080
.
Any change in home
and theme
directory is automatically synced to dev container.
kubectl delete -n spaship-examples websites.spaship.io simple