K8s中配置 启动 sysctl 与 privileged
#修改privilegedReplicationController.spec.template.spec.containers.securityContext:privileged: true#修改sysctlReplicationController.spec.template.spec.containers.command:["bash", "-c", "ulimit ...
·
#修改privileged
ReplicationController.spec.template.spec.containers.securityContext:
privileged: true
#修改sysctl
ReplicationController.spec.template.spec.containers.command:
["bash", "-c", "ulimit -l unlimited && sysctl -w vm.max_map_count=262144 && sh run.sh"]
更多推荐
已为社区贡献12条内容
所有评论(0)