这里写自定义目录标题
在ocp 里面使用 Jaeger 自定义资源部署时,启动ES 的pod 失败,log打印
/etc/elasticsearch/elasticsearch.yml': Permission denied
这是SCC 引起的问题…
https://docs.openshift.com/container-platform/4.8/authentication/managing-security-context-constraints.html
需要注意的是:
You cannot assign a SCC to pods created in one of the default namespaces: default, kube-system, kube-public, openshift-node, openshift-infra, openshift. These namespaces should not be used for running pods or services.
也就是在这几个 命名空间里面是设置不了 SCC 。所以不能成功部署ES集群