From 3c58f4e723ba6be93f93b526950df1791c8f863c Mon Sep 17 00:00:00 2001 From: Deshi Xiao Date: Wed, 3 Apr 2019 08:59:45 +0800 Subject: [PATCH] add tips for mac docker desktop setup process many user can't clear and have more pain to install k8s, use this tip can help fans to easy debug k8s on mac install process. enjoy it. thanks --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ba59cbe..9310b57 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,15 @@ ![k8s](images/k8s_win.png) +**TIPS**:如果想知道Kubernetes部署的过程,可以通过docker desktop应用日志获得实时安装进程信息: + +```bash +pred='process matches ".*(ocker|vpnkit).*" + || (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")' +/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred" +``` + + ### 配置 Kubernetes