mesos - Mesos Master 和 Mesos 代理是否需要 root 访问权限?

标签 mesos mesosphere

Mesos Master 和 Mesos 代理是否需要 root 访问权限? Mesos master 和 Mesos agent 的默认权限级别是多少?他们可以以非root访问权限运行吗?

最佳答案

当我尝试在没有 root 访问权限的情况下启动我的 mesos 集群时,我在 mesos slave 中遇到了错误:

Log file created at: 2018/02/17 06:57:48
Running on machine: ubuntu
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0217 06:57:48.811517 46316 main.cpp:468] EXIT with status 1: Failed to initialize systemd: Failed to create systemd slice ‘mesos_executors.slice’: Failed to write systemd slice `/run/systemd/system/mesos_executors.slice`: Failed to open file ‘/run/systemd/system/mesos_executors.slice’: Permission denied

我的 mesos 集群由三个节点组成,所有从主机都出现这个错误。所以我在 mesos master 中使用 root 访问权限启动了我的 mesos 集群。有效。

关于mesos - Mesos Master 和 Mesos 代理是否需要 root 访问权限?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41731079/

相关文章:

python - spark python API java_gateway套接字连接错误

kubernetes - 在 Mesos 或 Kubernetes 上支持公共(public)和私有(private)网络吗?

Docker 部署在 Marathon 上失败,否则工作正常

postgresql - Apache Mesos 的持久存储

docker - 频繁重启-marathon/mesos中的docker容器

mesos - 如何理解 Mesos 中的 CPU 分配?

docker - 在现有cgroup中启动容器

docker - 如果在docker镜像中运行的马拉松应用处于 'deploying'状态,我们在哪里可以查看该应用未部署的原因?

mesos - DC/OS - 显示 0 个连接节点的仪表板

mesos - Fig/Docker-Compose-like JSON 输入 Mesosphere/Marathon 以设置多层应用程序