我正在digitalocean ubuntu机器上设置kubernetes集群。我按照此get started guide ubuntu启动集群并运行。在设置过程中, ENABLE_NODE_LOGGING , ENABLE_CLUSTER_LOGGING 和 ENABLE_CLUSTER_DNS 变量在 config-default.sh 中设置为true。
但是,没有为Elasticsearch / kabana创建的 Controller ,服务。我确实必须为skydns手动运行deployAddon.sh,是否需要对日志记录和监视执行相同操作?还是我在默认配置中缺少某些内容。
最佳答案
默认情况下,日志记录和监视服务不在默认 namespace 中。
您应该能够查看服务是否正在使用kubectl cluster-info
运行。
要查看各个服务/ Controller ,请指定kube-system命名空间:kubectl get service --namespace=kube-system
关于kubernetes - kubernetes使用ubuntu的日志记录和监视功能创建集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31484486/