Open Jian-Min-Huang opened 5 years ago
https://www.youtube.com/watch?v=YHNbcT2c5rY&list=PLEhSHDVBMPO0tEGPkIflgf1Cmvo4fsXrV
Don't start with Kubernetes
12factor.net
Test local, mock, Testcontainers
choose 8u192 or above, oh damn it
Cloud Foundry Buildpack Memory Calculator
Native Memory Tracking
saturnism.me/talk/docker-tips-and-tricks
jib is better than Dockerfile copy
don't write to container filesystem
kubectl create deployment demo-app --image=gcr.io/xxx/jib-demo --dry-run -oyaml > k8s/deployment.yaml
kubectl create service clusterip demo-app --tcp=8088:8080 --dry-run -oyaml > k8s/service.yml
kubectl apply -f k8s/
kubectl port-forward src/demo-app 8080:8080
skaffold
Liveness & Readiness Probe
Graceful Shutdown
https://www.youtube.com/watch?v=YHNbcT2c5rY&list=PLEhSHDVBMPO0tEGPkIflgf1Cmvo4fsXrV
Don't start with Kubernetes
12factor.net
Test local, mock, Testcontainers
choose 8u192 or above, oh damn it
Cloud Foundry Buildpack Memory Calculator
Native Memory Tracking
saturnism.me/talk/docker-tips-and-tricks
jib is better than Dockerfile copy
don't write to container filesystem
kubectl create deployment demo-app --image=gcr.io/xxx/jib-demo --dry-run -oyaml > k8s/deployment.yaml
kubectl create service clusterip demo-app --tcp=8088:8080 --dry-run -oyaml > k8s/service.yml
kubectl apply -f k8s/
kubectl port-forward src/demo-app 8080:8080
skaffold
Liveness & Readiness Probe
Graceful Shutdown