新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
cd /kiamol/ch04
|
||||
|
||||
kubectl apply -f todo-list/todo-web.yaml
|
||||
kubectl wait --for=condition=Ready pod -l app=todo-web
|
||||
kubectl get svc todo-web -o jsonpath='http://{.status.loadBalancer.ingress[0].*}:8080'
|
||||
kubectl logs -l app=todo-web
|
||||
|
||||
Reference in New Issue
Block a user