Skip to content

cp-20/ns-workerd-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workerd の Rolling Update を試す

セットアップ

k3d cluster create --config k3d-config.yaml
docker compose build
k3d image import ns-workerd-test-workerd:latest -c ns-workerd-test
k3d image import ns-workerd-test-prober:latest -c ns-workerd-test

リソースを作る

kubectl create configmap workerd-config --from-file=./workerd/config.capnp --dry-run=client -o yaml | kubectl apply -f -
kubectl create configmap workerd-services --from-file=./workerd/services/
kubectl apply -f ./workerd/deployment.yaml
kubectl apply -f ./prober/deployment.yaml

8000~8010 までが使われれる

curl http://localhost:8000/metrics で probe の状況を見れる

config.capnp を更新する

kubectl create configmap workerd-config --from-file=./workerd/config.capnp --dry-run=client -o yaml | kubectl apply -f -
kubectl rollout restart deployment/workerd

全部消す

k3d cluster delete ns-workerd-test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published