#修改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"]
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐