v2-s.jpg

apiVersion: v1
kind: Pod
metadata:
  name: my-pod
  #  annotations:
  #   security.alpha.kubernetes.io/sysctls: net.ipv4.ip_local_port_range= 1024 65535
  labels:
    test: liveness-exec
spec:
  securityContext:
    sysctls:
    - name: net.ipv4.ip_local_port_range
      value: "1024 65535"
  containers:
    - name: my-pod
      image: centos
...

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code