新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
cd /kiamol/ch05
|
||||
|
||||
kubectl apply -f sleep/sleep-with-hostPath-subPath.yaml
|
||||
kubectl exec deploy/sleep -- sh -c 'ls /pod-logs | grep _pi-'
|
||||
kubectl exec deploy/sleep -- sh -c 'ls /container-logs | grep nginx'
|
||||
Reference in New Issue
Block a user