"K8s updateStrategy"의 두 판 사이의 차이

(새 문서: ==개요== ;쿠버네티스 updateStrategy <syntaxhighlight lang='console'> $ kubectl get ds kube-proxy -n kube-system -oyaml | grep updateStrategy: -A3 updateStrategy: rolling...)
 
 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;쿠버네티스 updateStrategy
;쿠버네티스 updateStrategy


<syntaxhighlight lang='console'>
<syntaxhighlight lang='yaml' line highlight='12'>
$ kubectl get ds kube-proxy -n kube-system -oyaml | grep updateStrategy: -A3
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: fluentd-elasticsearch
  namespace: kube-system
  labels:
    k8s-app: fluentd-logging
spec:
  selector:
    matchLabels:
      name: fluentd-elasticsearch
   updateStrategy:
   updateStrategy:
    type: RollingUpdate
     rollingUpdate:
     rollingUpdate:
       maxSurge: 0
       maxUnavailable: 1
      maxUnavailable: 10%
...
</syntaxhighlight>
</syntaxhighlight>
==같이 보기==
* [[k8s strategy]]
* [[k8s DaemonSet]]
* [[k8s nodeSelector]]
==참고==
* https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/#creating-a-daemonset-with-rollingupdate-update-strategy
[[분류: k8s]]

2025년 9월 6일 (토) 17:00 기준 최신판

1 개요[ | ]

쿠버네티스 updateStrategy
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: fluentd-elasticsearch
  namespace: kube-system
  labels:
    k8s-app: fluentd-logging
spec:
  selector:
    matchLabels:
      name: fluentd-elasticsearch
  updateStrategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 1
...

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}