Код IT Загрузка примера кода…

YAML main.yaml
spec:
  selector:
    matchLabels:
      app: fluentd
  template: # шаблон Pod
    metadata:
      labels:
        app: fluentd
    spec:
      containers: [...]
  updateStrategy:
    type: RollingUpdate|OnDelete
    rollingUpdate:
      maxUnavailable: <целое или процент>
  minReadySeconds: <целое>
spec:
  selector:
    matchLabels:
      app: fluentd
  template: # шаблон Pod
    metadata:
      labels:
        app: fluentd
    spec:
      containers: [...]
  updateStrategy:
    type: RollingUpdate|OnDelete
    rollingUpdate:
      maxUnavailable: <целое или процент>
  minReadySeconds: <целое>