以下のような感じで、マニュフェストに記述するようだ。
==============================
apiVersion: v1
kind: pod
metadata:
name: sample-sysctl
spec:
securityContext:
sysctls:
- name: net.core.comaxconn
value: "123456"
containers:
- name: centos-container
image: centos:7
command: ["/bin/sleep", "3600"]
=================================
==============================
apiVersion: v1
kind: pod
metadata:
name: sample-sysctl
spec:
securityContext:
sysctls:
- name: net.core.comaxconn
value: "123456"
containers:
- name: centos-container
image: centos:7
command: ["/bin/sleep", "3600"]
=================================
0 件のコメント:
コメントを投稿