新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
10
learn/learn-kubernetes-master/kiamol/ch05/exercises/5.13.sh
Normal file
10
learn/learn-kubernetes-master/kiamol/ch05/exercises/5.13.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
cd /kiamol/ch05
|
||||
|
||||
kubectl apply -f todo-list/web/
|
||||
kubectl wait --for=condition=Ready pod -l app=todo-web
|
||||
kubectl get svc todo-web -o jsonpath='http://{.status.loadBalancer.ingress[0].*}:8081/new'
|
||||
|
||||
#
|
||||
|
||||
kubectl delete pod -l app=todo-db
|
||||
kubectl exec deploy/sleep -- ls -l /node-root/volumes/pv01/pg_wal
|
||||
Reference in New Issue
Block a user