"쿠버네티스 tolerations"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
18번째 줄: 18번째 줄:
   - effect: NoSchedule
   - effect: NoSchedule
     key: node-role.kubernetes.io/master
     key: node-role.kubernetes.io/master
</syntaxhighlight>
==Pod 예시==
<syntaxhighlight lang='console'>
apiVersion: v1
kind: Pod
metadata:
  name: nginx
  labels:
    env: test
spec:
  containers:
  - name: nginx
    image: nginx
  tolerations:
  - key: "example-key"
    operator: "Exists"
    effect: "NoSchedule"
</syntaxhighlight>
</syntaxhighlight>



2021년 9월 30일 (목) 14:11 판

1 개요

쿠버네티스 tolerations
k8s 톨러레이션
spec:
  nodeSelector:
    node-role.kubernetes.io/master: ""
  tolerations:
  - effect: NoSchedule
    operator: Exists
spec:
  nodeSelector:
    node-role.kubernetes.io/master: ""
  tolerations:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master

2 Pod 예시

apiVersion: v1
kind: Pod
metadata:
  name: nginx
  labels:
    env: test
spec:
  containers:
  - name: nginx
    image: nginx
  tolerations:
  - key: "example-key"
    operator: "Exists"
    effect: "NoSchedule"

3 같이 보기

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