deployment lab 源码
设置 一个有效的kubernetes实例 来自本地环境的kubectl命令行 滚动部署 # deploy v1 app kubectl apply -f kube/rolling/deployment.v1.yaml # deploy the service kubectl apply -f kube/rolling/service.yaml # Now you should see all web response are from v1 # The IP address and port needs to be updated based on actual service while true ; curl 169.57.112.152:30661 ; sleep 1 ; end # deployment-lab-dp-green-5cc64d976f-hdd9b: hello v1
文件列表
deployment-lab-master.zip
(预估有个15文件)
deployment-lab-master
skaffold.yml
214B
Dockerfile
99B
kube
bluegreen
deployment.blue.yaml
1016B
deployment.green.yaml
1021B
service.blue.yaml
232B
service.green.yaml
233B
rolling
暂无评论